Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Although in the console producer one can specify the key value serializer, they are actually not used since 1) it always serialize the input string as String.getBytes (hence always pre-assume the string serializer) and 2) it is actually only passed into the old producer. The same issues exist in console consumer.
In addition the configs in the console producer is messy: we have 1) some config values exposed as cmd parameters, and 2) some config values in --producer-property and 3) some in --property.
It will be great to clean the configs up in both console producer and consumer, and put them into a single --property parameter which could possibly take a file to reading in property values as well, and only leave --new-producer as the other command line parameter.
Attachments
Issue Links
- is duplicated by
-
KAFKA-5149 New producer hardcodes key and value serializers to ByteArray
-
- Resolved
-
- links to