THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
For some use cases, it's required to set different configs for different consumers. Thus, we should add two new prefix for restore and global consumer.
We might also consider to extend `KafkaClientSupplier` and add a `getGlobalConsumer()` method.
Public Interfaces
Code Block | ||
---|---|---|
| ||
// KafkaClientSupplier consumer APIs: Consumer<byte[], byte[]> getConsumer(final Map<String, Object> config); Consumer<byte[], byte[]> getRestoreConsumer(final Map<String, Object> config); // New API for global consumer: Consumer<byte[], byte[]> getGlobalConsumer(final Map<String, Object> config); |
...