Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulsar IO - KafkaSource - allow to manage Avro Encoded messages #4

Closed
wants to merge 24 commits into from

Conversation

eolivelli
Copy link
Owner

@eolivelli eolivelli commented Feb 3, 2021

Summary of changes:

  • add new AvroRecordKafkaSource that produces GenericRecords to the Pulsar topic
  • support Schema Evolution end-to-end (i.e. add fields to the original schema in the Kafka world, and see the new fields in the Pulsar topic, without any reconfiguration or restart)
  • add Confluent Schema Registry Client to the Kafka Connector NAR
  • the configuration of the Schema Registry Client is to be done in the consumerProperties property of the source
  • allow PulsarSink to deal with org.apache.pulsar.client.api.schema.GenericRecord (it must not enforce an empty schema to the topic while starting the source)
  • allow AvroWriter to deal with GenericRecord that are not a subclass of AvroGenericRecord
  • add integration tests with Kafka and Schema Registry

This patch includes this patch that is to be committed as pre-requisite
apache#9396

* @param payload
* @return a new payload
*/
private ByteBuf applyCompression(ByteBuf payload) {
Copy link
Owner Author

@eolivelli eolivelli Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all of the changes in ProducerImpl are part of apache#9396
that is required for this patch to work

@eolivelli eolivelli changed the title Impl/kafka schema aware with tests Pulsar IO - KafkaSource - allow to manage Avro Encoded messages Feb 3, 2021
@eolivelli eolivelli closed this Feb 3, 2021
eolivelli pushed a commit that referenced this pull request Nov 8, 2021
… Downgrading debezium to the same version as apache. (#4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant