Kafka Connect: custom query avro schema

502 views
Skip to first unread message

Jeroen Soeters

unread,
Jun 13, 2016, 5:10:12 PM6/13/16
to Confluent Platform
How can I control the avro schema for a custom query using the jdbc connector. The avro schema created by the connector has the namespace io.confluent.connect.avro and the name is set to ConnectDefault. Can I change this?

Ewen Cheslack-Postava

unread,
Jun 14, 2016, 1:22:20 AM6/14/16
to Confluent Platform
That's not currently exposed via the connector configuration -- the ConnectDefault is just coming from the AvroConverter implementation filling in the default. We'd need to make the JDBC connector fill in a schema name (potentially via config) to adjust this. If you'd like to file a feature request in GitHub we can start tracking the feature there.

-Ewen

On Mon, Jun 13, 2016 at 2:10 PM, Jeroen Soeters <wfhso...@gmail.com> wrote:
How can I control the avro schema for a custom query using the jdbc connector. The avro schema created by the connector has the namespace io.confluent.connect.avro and the name is set to ConnectDefault. Can I change this?

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/335882e8-f095-4bb5-a9a6-5389b5dc71f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Ewen

Jeroen Soeters

unread,
Jun 14, 2016, 12:23:06 PM6/14/16
to Confluent Platform
https://github.com/confluentinc/kafka-connect-jdbc/issues/90

Done. Please review and I'll create a PR against this pretty soon probably.



On Tuesday, June 14, 2016 at 1:22:20 AM UTC-4, Ewen Cheslack-Postava wrote:
That's not currently exposed via the connector configuration -- the ConnectDefault is just coming from the AvroConverter implementation filling in the default. We'd need to make the JDBC connector fill in a schema name (potentially via config) to adjust this. If you'd like to file a feature request in GitHub we can start tracking the feature there.

-Ewen
On Mon, Jun 13, 2016 at 2:10 PM, Jeroen Soeters <wfhso...@gmail.com> wrote:
How can I control the avro schema for a custom query using the jdbc connector. The avro schema created by the connector has the namespace io.confluent.connect.avro and the name is set to ConnectDefault. Can I change this?

--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.



--
Thanks,
Ewen
Reply all
Reply to author
Forward
0 new messages