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

MSK connection not working #335

Open
garvit-cosmofeed opened this issue Feb 25, 2024 · 1 comment
Open

MSK connection not working #335

garvit-cosmofeed opened this issue Feb 25, 2024 · 1 comment

Comments

@garvit-cosmofeed
Copy link

garvit-cosmofeed commented Feb 25, 2024

I am trying to use kouncil with AWS MSK as described in docs. I am trying to host kouncil as a ECS task. I have created a config file as given below:

kouncil:
  clusters:
    - name: demo-cluster-1
      brokers:
        - host:  b-1.de.XXXXX6.c4.kafka.ap-south-1.amazonaws.com
          port: 9098
          saslMechanism: AWS_MSK_IAM
          saslProtocol: SASL_SSL
          saslJassConfig: software.amazon.msk.auth.iam.IAMLoginModule required awsProfileName="ecsTaskExecutionRole";
          saslCallbackHandler: software.amazon.msk.auth.iam.IAMClientCallbackHandler
        - host: b-2.de.XXXXX6.c4.kafka.ap-south-1.amazonaws.com
          port: 9098
          saslMechanism: AWS_MSK_IAM
          saslProtocol: SASL_SSL
          saslJassConfig: software.amazon.msk.auth.iam.IAMLoginModule required awsProfileName="ecsTaskExecutionRole";
          saslCallbackHandler: software.amazon.msk.auth.iam.IAMClientCallbackHandler
        - host:  b-3.de.XXXXX6.c4.kafka.ap-south-1.amazonaws.com
          port: 9098
          saslMechanism: AWS_MSK_IAM
          saslProtocol: SASL_SSL
          saslJassConfig: software.amazon.msk.auth.iam.IAMLoginModule required awsProfileName="ecsTaskExecutionRole";
          saslCallbackHandler: software.amazon.msk.auth.iam.IAMClientCallbackHandler
       

but i get the error:
2024-02-25 13:22:22.468 INFO 1 --- [| adminclient-1] org.apache.kafka.clients.NetworkClient : [AdminClient clientId=adminclient-1] Cancelled in-flight API_VERSIONS request with correlation id 673 due to node -1 being disconnected (elapsed time since creation: 61ms, elapsed time since send: 61ms, request timeout: 3600000ms)

@pbelke
Copy link
Contributor

pbelke commented Mar 19, 2024

Hi @garvit-cosmofeed with which version of Kouncil did you try to connect to AWS MSK?

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

No branches or pull requests

2 participants