ibm-messaging / kafka-connect-mq-sink

This repository contains a Kafka Connect sink connector for copying data from Apache Kafka into IBM MQ.
Apache License 2.0
35 stars 43 forks source link

Suggestion: enable Converter class to be configured on MessageBuilder #3

Closed joewood closed 6 years ago

joewood commented 6 years ago

Given the MessageBuilder delegates most of its functionality to a Converter, would it make sense to be able to configure the DefaultMessageBuilder with a Converter class, in the same way as Connectors use converters to serialize/deserialize Kafka messages? This way a custom Converter could be plugged into the MQ Connectors without any additional work.

AndrewJSchofield commented 6 years ago

Hi, I think this is a good idea. I'd be happy to receive a pull request if you're keen, or you could wait for me to refresh the connector.

AndrewJSchofield commented 6 years ago

Done. Try the ConverterMessageBuilder.