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

Add x header reflection #585

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

joncourt
Copy link

@joncourt joncourt commented Sep 6, 2019

added reflection of headers beginning with X- (case-insensitive) from request to response. This change means we can accommodate the clients we have that match from request to response using an x-correlation-id header (mainframe).

Jon Court and others added 28 commits March 23, 2018 15:46
…ally to facilitate correlating the response with the request in the client for those clients who need to do so manually.
…o be returning a list at runtime - but a simple string at compile time
… into confluentinc-4.1.1-post

# Conflicts:
#	kafka-rest/src/main/java/io/confluent/kafkarest/KafkaRestApplication.java
#	kafka-rest/src/main/java/io/confluent/kafkarest/KafkaRestConfig.java
#	kafka-rest/src/test/java/io/confluent/kafkarest/integration/ClusterTestHarness.java
…he Load Balancer

port is different to the direct access ports (i.e. lb uses 443 where direct access uses 8082) - this is important for consumer group responses.
…ost.port config test, re-flow'd some of the text in KafkaRestConfig to comply with Checkstyle line lengths.
… into add-x-header-reflection

# Conflicts:
#	docs/config.rst
#	kafka-rest-common/src/main/java/io/confluent/kafkarest/KafkaRestConfig.java
#	kafka-rest/src/main/java/io/confluent/kafkarest/KafkaRestApplication.java
#	kafka-rest/src/main/java/io/confluent/kafkarest/UriUtils.java
#	kafka-rest/src/test/java/io/confluent/kafkarest/integration/ClusterTestHarness.java
#	kafka-rest/src/test/java/io/confluent/kafkarest/unit/UriUtilsTest.java
@ghost
Copy link

ghost commented Sep 6, 2019

@confluentinc It looks like @joncourt just signed our Contributor License Agreement. 👍

Always at your service,

clabot

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.

None yet

1 participant