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

How to use provider to configure connectors in Confluent Cloud cluster directly? #33

Open
askoriy opened this issue Nov 23, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@askoriy
Copy link

askoriy commented Nov 23, 2020

All guides of using kafka connect say to run ./bin/connect-standalone providing connect-standalone.properties and then connect using url = "http://localhost:8083".
However, I noticed that for configuring connectors via GUI interface Confluent Cloud provides API endpoint:
https://confluent.cloud/api/accounts/{{ env_id }}/clusters/{{ cluster_id }}
The format of API is the same, however the difference is that Confluent Cloud API uses JWT token authorization, but terraform sends Authorization: Basic header. So Terraform can't authorize.

Is it possible to add JWT authorization so the provider could work directly with Confluent Cloud?

If I wrong please explain the way how to use the provider with Confluent Cloud?

@Mongey Mongey added the enhancement New feature or request label Dec 14, 2020
@Mongey
Copy link
Owner

Mongey commented Dec 14, 2020

I think supporting arbitrary headers is probably a good idea.

@Marcus-James-Adams
Copy link

We would love this feature as we've just started using your excellent confluent cloud provided and are looking as work arounds for connecting the SQL cdc connector into it

@benweint
Copy link
Contributor

benweint commented Jun 2, 2022

This seems directly related to #41.

FWIW, I have a PR against the underlying Kafka Connect client library that adds the ability for it to pass along arbitrary headers (which I think would be a prerequisite for this work, unless we swap out or reimplement the underlying client lib).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants