Skip to content

Kafka documentation refers to deprecated JSON serializer and deserializer classes#49826

Merged
snicoll merged 1 commit intospring-projects:4.0.xfrom
bachhs:docs/replace-deprecated-kafka-json-serializers
Mar 28, 2026
Merged

Kafka documentation refers to deprecated JSON serializer and deserializer classes#49826
snicoll merged 1 commit intospring-projects:4.0.xfrom
bachhs:docs/replace-deprecated-kafka-json-serializers

Conversation

@bachhs
Copy link
Copy Markdown
Contributor

@bachhs bachhs commented Mar 28, 2026

Updated the Kafka reference documentation to replace deprecated classes
with their recommended replacements:

  • JsonSerializerJacksonJsonSerializer
  • JsonDeserializerJacksonJsonDeserializer

JsonSerializer and JsonDeserializer are deprecated in favor of the Jackson-specific variants. Using the deprecated classes requires an explicit jackson-databind dependency.

Ref:

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 28, 2026
@bachhs bachhs force-pushed the docs/replace-deprecated-kafka-json-serializers branch from bf48e91 to 19c1bbe Compare March 28, 2026 07:59
@snicoll snicoll added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 28, 2026
@snicoll snicoll added this to the 4.0.6 milestone Mar 28, 2026
@snicoll snicoll self-assigned this Mar 28, 2026
@snicoll snicoll changed the title docs(kafka): Replace deprecated Json(De)Serializer with Jackson variants in examples Kafka documentation refers to deprecated JSON serializer and deserializer classes Mar 28, 2026
@snicoll snicoll changed the base branch from main to 4.0.x March 28, 2026 17:01
See spring-projectsgh-49826

Signed-off-by: bachhs <bachhs21@gmail.com>
@snicoll snicoll force-pushed the docs/replace-deprecated-kafka-json-serializers branch from 19c1bbe to 67ad1fa Compare March 28, 2026 17:01
@snicoll snicoll merged commit 6b7d577 into spring-projects:4.0.x Mar 28, 2026
1 check passed
@snicoll
Copy link
Copy Markdown
Member

snicoll commented Mar 28, 2026

@bachhs good catch, thank you!

@bachhs bachhs deleted the docs/replace-deprecated-kafka-json-serializers branch March 28, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants