lensesio/kafka-connect-query-language

KCQL generate schema with namespace

Closed this issue · 1 comments

wqlin commented

Hi, i currently use stream-reactor to import from MQTT into kafka and use JsonSimpleConverter to parse records. The JsonSimpleConverter will automatically create a schema for record, but schema lack of namespace.
It's possible to set schema namespace use kcql in connector properties file? Thanks!

wqlin commented

It's turn out to include schema namespce, you have to define schema maually and use AvroConverter

com.datamountaineer.streamreactor.connect.converters.source.AvroConverter

in properties file and provide schema defition file as well.