THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The current KTable API looks like:StreamsConfig.
Code Block | ||
---|---|---|
|
// Prefix setter for consumer config
public
static
final
String CONSUMER_PREFIX =
"consumer."
;
public
static
String consumerPrefix(
final
String consumerProp) {
return
CONSUMER_PREFIX + consumerProp;
}
...
// API to get consumer configs
public
Map<String, Object> getConsumerConfigs(
final
String groupId,
final
String clientId);
| ||
public synchronized <K, V> KTable<K, V> table(final String topic);
public synchronized <K, V> KTable<K, V> table(final String topic, final Consumed<K, V> consumed);
public synchronized <K, V> KTable<K, V> table(final String topic, final Materialized<K, V, KeyValueStore<Bytes, byte[]>> materialized);
public synchronized <K, V> KTable<K, V> table(final String topic, final Consumed<K, V> consumed, final Materialized<K, V, KeyValueStore<Bytes, byte[]>> materialized |
...
); |
Briefly list any new interfaces that will be introduced as part of this proposal or any existing interfaces that will be removed or changed. The purpose of this section is to concisely call out the public contract that will come along with this feature.
...