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

Kafka universal unconfluentization #3948

Merged
merged 9 commits into from Jan 31, 2023

Conversation

arkadius
Copy link
Member

@arkadius arkadius commented Jan 25, 2023

  • Using confluent abstractions only when needed
  • Non-confluent classes renamed and moved to desired packages
  • Removed some duplication of code in: universal record fromatter implementation and AvroSchemaEvolution
  • Extracted new class: SchemaIdFromMessageExtractor to make Confluent logic explicit and moved to top level
  • Extracted SchemaValidator to make Confluent logic explicit and be able to compose
  • Some renames: ConsumerRecordUtils -> KafkaRecordUtils
  • RecordDeserializer -> AvroRecordDeserializer (also inheritance replaced by composition)
  • (De)SerializerFactory - easier abstractions
  • Performance fix: UniversalKafkaSource now produce GenericRecordWithSchemaId
  • AvroSerializerRegistrar fixes: wasn't checked if component is a kafka component, bad path was used (config.kafka instead of kafka)
  • ConfluentSchemaRegistryFactory is not necessary now - removed
  • ConfluentSchemaBasedSerdeProvider.universal replaced by UniversalSchemaBasedSerdeProvider.create

@github-actions
Copy link
Contributor

created: #3950

@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from d3aa693 to 26875f1 Compare January 25, 2023 20:04
@github-actions
Copy link
Contributor

updated: #3950

@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch 10 times, most recently from 6104545 to 572745a Compare January 28, 2023 02:52
@arkadius arkadius marked this pull request as ready for review January 28, 2023 21:35
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from 8f97d6e to fb76db1 Compare January 28, 2023 22:09
@github-actions github-actions bot added the docs label Jan 28, 2023
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch 2 times, most recently from 8b191e5 to 7b79ea1 Compare January 29, 2023 13:18
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from c774296 to d3be1bd Compare January 30, 2023 12:59
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from 414c9b0 to 57982ee Compare January 30, 2023 19:57
- Using confluent abstractions only when needed
- Non-confluent classes renamed and moved to desired packages
- Removed some duplication of code in: universal record fromatter implementation and AvroSchemaEvolution
- Extracted new class: SchemaIdFromMessageExtractor to make Confluent logic explicit and moved to top level
- Extracted SchemaValidator to make Confluent logic explicit and be able to compose
- Some renames: ConsumerRecordUtils -> KafkaRecordUtils
- RecordDeserializer -> AvroRecordDeserializer (also inheritance replaced by composition)
- (De)SerializerFactory - easier abstractions
- Performance fix: UniversalKafkaSource now produce GenericRecordWithSchemaId
- AvroSerializerRegistrar fixes: wasn't checked if component is a kafka component, bad path was used (config.kafka instead of kafka)
- ConfluentSchemaRegistryFactory is not necessary now - removed
- ConfluentSchemaBasedSerdeProvider.universal replaced by UniversalSchemaBasedSerdeProvider.create
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from b7970ec to 28f046c Compare January 30, 2023 20:32
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch 6 times, most recently from 265c113 to ce1d672 Compare January 30, 2023 23:23
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch 2 times, most recently from 6a77674 to a922f76 Compare January 31, 2023 00:07
@arkadius arkadius force-pushed the kafka-universal-unconfluentization branch from a922f76 to 20957cc Compare January 31, 2023 00:26
Copy link
Collaborator

@gadomsky gadomsky left a comment

Choose a reason for hiding this comment

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

LGTM

@arkadius arkadius merged commit 5f0a28d into staging Jan 31, 2023
@coutoPL coutoPL deleted the kafka-universal-unconfluentization branch August 17, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants