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

Update HttpChangeConsumer.java - Adding ability to attach autorization header #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yanivbh1
Copy link

Adding ability to add authorization header
to support JWT-type authentication which is highly common pattern and will enable variety of use cases with debezium and HTTP sink

@jpechane
Copy link
Contributor

@yanivbh1 Could you please create a Jira issue for this?
Also I beleive the problem needs to be handled in more general way

  • Debezium Server now supports sinks the ability to use headers passed - see Kafka sink for implementation. The code sould support it
  • Instead ofconfiguring http headers one by one there should be a set header.* config options that will take the last part and addsuch header to request. This will enable user configure any header
  • In case of coflict of two items above the incoming header takes precedence and overwirtes the one statically configured

@gunnarmorling
Copy link
Member

@jpechane, is this one still relevant? Seems it actually has been addressed already?

@jpechane
Copy link
Contributor

@gunnarmorling I think it still is. So far you can either use jwt authentication or pass Kafka Connect headers. But there is no way how to configure an HTTP header statically in the Debezium Server config.

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.

3 participants