Kafka - Advanced Stream Processing
What is wrong with the following Kafka Streams code snippet for accessing a state store?
ReadOnlyKeyValueStore<String, String> store = streams.store("metricsStore");
String metric = store.get("cpu");What is wrong with the following Kafka Streams code snippet for accessing a state store?
ReadOnlyKeyValueStore<String, String> store = streams.store("metricsStore");
String metric = store.get("cpu");store() method requires two parameters: the store name and the store type.QueryableStoreTypes.keyValueStore(), which is mandatory.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions