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

Support for Azure event hub #657

Open
cosad3s opened this issue Apr 7, 2021 · 2 comments
Open

Support for Azure event hub #657

cosad3s opened this issue Apr 7, 2021 · 2 comments
Labels
backend Need a backend update enhancement New feature or request

Comments

@cosad3s
Copy link

cosad3s commented Apr 7, 2021

Hello!

I tried to use AKHQ to connect to a Event Hub (Azure) and it does not work with AKHQ. Example of configuration:

connections:
  my-cluster:
    properties:
      bootstrap.servers: "DOMAIN.servicebus.windows.net:9093"
      security.protocol: SASL_SSL
      sasl.mechanism: PLAIN
      sasl.jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://DOMAIN.servicebus.windows.net/;SharedAccessKeyName=KEYNAME;KEYNAME=VEYVALUE";

(Example from: https://docs.microsoft.com/fr-fr/azure/event-hubs/event-hubs-quickstart-kafka-enabled-event-hubs)

On the AKHQ launched, I get this error in console:

2021-04-07 10:48:20,823 WARN  r-thread-2 .a.k.c.a.AdminClientConfig The configuration 'sasl.jaas.config' was supplied but isn't a known config.
2021-04-07 10:48:22,397 WARN  r-thread-2 org.akhq.log.access        [Date: 2021-04-07T10:48:20.484018+02:00] [Duration: 1913 ms] [Url: GET /api/my-cluster/topic] [Status: 500] [Ip: /127.0.0.1] [User: -]
2021-04-07 10:48:22,414 ERROR Group-1-11 o.a.c.ErrorController      Error for List Log dir
(...)
Caused by: org.apache.kafka.common.errors.UnsupportedVersionException: The broker does not support DESCRIBE_LOG_DIRS

With the same configuration in another tool like Conduktor, it works.

@tchiotludo
Copy link
Owner

Hi @cactuschibre,

I know that azure event hub is not working for now.
We need to disable (silently) some call this is not compatible with event hub.
Unfortunately, I don't have any azure account in order to test.

PR are welcome here for someone that have an account 😄

@tchiotludo tchiotludo changed the title Problem with sasl.jaas.config value for Event Hub Azure Support for Azure event hub Apr 7, 2021
@tchiotludo tchiotludo added backend Need a backend update enhancement New feature or request labels Apr 7, 2021
@erkexzcx
Copy link

erkexzcx commented Sep 7, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Need a backend update enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

3 participants