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 a way to specify authentication to the registry #38

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

hrajchert
Copy link
Contributor

Hi! I need to produce a message to a Confluent kafka using a schema registry, and as I mentioned in the issue #37 there doesn't seem to be a way to connect to a registry that needs credentials.

That's why I modified the SchemaRegistry constructor to include the Maybe Auth and propagate it across the different requests.

To keep compatibility with the previous API I've left the schemaRegistry function as is, and added a new one called schemaRegistry_. Let me know if this is ok, or if you have some contribution guidelines that I need to follow.

This is my first PR to a Haskell repo :)

@AlexeyRaga
Copy link
Member

Thanks!

@AlexeyRaga AlexeyRaga merged commit 565ecc0 into haskell-works:master Apr 25, 2020
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.

2 participants