hudi icon indicating copy to clipboard operation
hudi copied to clipboard

[HUDI-8378] Fix Avro schema deserializer failing with schema evolution

Open vamsikarnika opened this issue 1 year ago • 1 comments

Change Logs

Add consumer group id to kafka params based on the schema hash when KafkaAvroSchemaDeserializer is used to avoid kafka connector caching the KafkaConsumer causing issues with schema evolution.

Impact

Kafka connector will create a new Kafka consumer whenever there's a change in the schema instead of using cached kafka consumer.

Risk level (write none, low medium or high below)

NA

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the ticket number here and follow the instruction to make changes to the website.

Contributor's checklist

  • [ ] Read through contributor's guide
  • [ ] Change Logs and Impact were stated clearly
  • [ ] Adequate tests were added if applicable
  • [ ] CI passed

vamsikarnika avatar Oct 16 '24 06:10 vamsikarnika

CI report:

  • 21b9df8a8ec2ae03d52f08157eaaca6cdb6c565e UNKNOWN
  • 66b9c874e93ce9c9b48dad5b76fc34d98c8ff493 Azure: SUCCESS
Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

hudi-bot avatar Feb 24 '25 14:02 hudi-bot