Skip to content

Allow extending Context outside package - #4501

Open
ca-stefan-cordes wants to merge 2 commits into
spring-projects:mainfrom
c-a-services:feature/allow-extending-context
Open

Allow extending Context outside package #4501
ca-stefan-cordes wants to merge 2 commits into
spring-projects:mainfrom
c-a-services:feature/allow-extending-context

Conversation

@ca-stefan-cordes

Copy link
Copy Markdown

When implementing the KafkaConsumerBackoffManager and need to extend the Context (e.g. to add Headers to it), the "extends" needs to be done in package org.springframework.kafka.listener
due to "package visibility" of class Context.

Please change to "protected" or better to "public" as interface KafkaConsumerBackoffManager is public, too.

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