Remove string from definition of Kafka generic types
Closed this issue · 2 comments
Is your feature request related to a problem? Please describe.
The types used to store information in the Kafka cluster are strings. If a key is a simple type managed from Kafka store it as native type: e.g. an integer shall be stored as integer. This can help in management of Apache Kafka Streams DSL.
Describe the solution you'd like
Remove strong definition of generic type using the constraint <string, string>
at least in ProducerRecord
and Producer
Describe alternatives you've considered
N/A
Additional context
Maybe KNet shall be evolved
Postponed waiting for #60
KNet comes with types like KNetProducerRecord
and KNetProducer
which are able to manage serialization/deserialization using classes based on KNetSerDes
: the latest mentioned types shall replace the current one.