kouncil
kouncil copied to clipboard
MSK connection not working
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)