abossert opened a new pull request #8360: Feature custom kafka deserializers
URL: https://github.com/apache/incubator-druid/pull/8360
 
 
   ### Description
   
   In keeping with previous work to enable the use of custom Kafka 
Deserializers for data ingest into Druid, I noticed that in the Web-UI, the 
Kafka Deserializer is also hard-coded as ByteArrayDeserializer, thus clicking 
the "preview" button for Kafka topics that use a custom Deserializer would not 
work properly in the Web-UI wizard.
   
   In order to fix this behavior, I removed the hard-coded deserializer in 
KafkaSamplerSpec so that it reads the deserializer from the consumer config 
provided in the UI or defaults to the ByteArrayDeserializer if one is not 
supplied, thus there is no need to change user behavior, they can continue to 
use the Web-UI Kafka data importer just like before, but can also specify a 
custom deserializer if desired.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to