Skip to content

Add deprecation warning for AvroProducer and AvroConsumer in README#2159

Open
kalluripradeep wants to merge 1 commit intoconfluentinc:masterfrom
kalluripradeep:update-avro-legacy-docs
Open

Add deprecation warning for AvroProducer and AvroConsumer in README#2159
kalluripradeep wants to merge 1 commit intoconfluentinc:masterfrom
kalluripradeep:update-avro-legacy-docs

Conversation

@kalluripradeep
Copy link

Fixes #910

What?

Added a prominent deprecation warning in the Schema Registry Integration section of README.md for the legacy AvroProducer and AvroConsumer classes.

Why?

These classes are marked as deprecated in the code but the README still prominently features them, which confuses new users (as noted in #910).

Changes

  • Added a clear warning box in the "Synchronous Client & Serializers" section
  • Directs users to use modern AvroSerializer/AvroDeserializer with standard Producer/

Fixes confluentinc#910

Added a prominent warning in the Schema Registry section that AvroProducer
and AvroConsumer are deprecated. The warning directs users to use the modern
AvroSerializer/AvroDeserializer with standard Producer/Consumer instead,
and provides links to example code.
@kalluripradeep kalluripradeep requested review from a team and MSeal as code owners December 31, 2025 14:08
@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Dec 31, 2025

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ kalluripradeep
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@ojasvajain
Copy link
Member

We have created ticket 4248 to track it internally.

@ojasvajain ojasvajain added the docs Requesting a documentation change label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Requesting a documentation change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update README.md to reflect the legacy status of AvroProducer and AvroConsumer

2 participants