Hi Bruno and frosiere,
Thanks for raising this KIP, this would be a useful improvement!
I advise just expose Map and Properties to the user. so that the parameters
will be consistent with old one.
the Advise like :
1, consumer api:
public KafkaConsumer(Map<String, Object> configs,
Deserializer<K> keyDeserializer,
Deserializer<V> valueDeserializer,
List<ConsumerInterceptor<K, V>> interceptors)
2, producer api:
public KafkaProducer(Map<String, Object> configs, Serializer<K>
keySerializer, Serializer<V> valueSerializer,
List<ProducerInterceptor<K, V>> interceptors)
Any idea?
Please let me know.
Thanks,
lqjack