Giter VIP home page Giter VIP logo

Comments (4)

StephenSorriaux avatar StephenSorriaux commented on August 15, 2024 1

Hey,

Thanks for this issue. I think it is related to python-zk/kazoo#587 which I need to look into.

from ansible-kafka-admin.

StephenSorriaux avatar StephenSorriaux commented on August 15, 2024

Hey @justCatchingRye,

Can you please provide more information your ZK configuration? I am trying to reproduce the issue.

Thank you.

from ansible-kafka-admin.

justCatchingRye avatar justCatchingRye commented on August 15, 2024

Hey @StephenSorriaux,

Many thanks for following-up on this. You prompted me to take a closer look at our zookeeper setup and I've found that the issue I was seeing was actually mis-configuration on my side.

We are using AWS MSK (Managed Streaming for Kafka) and I've realised that although our connections to brokers are using TLS, our connections to zookeeper aren't. This is a bit of a surprise, but I realised that when we talk to zookeeper directly we don't actually provide a certificate for the connection. Furthermore, we are connecting to port 2181 and it appears this is the plaintext port.

So, I've resolved the issue in the playbook by removing these lines:

zookeeper_ssl_check_hostname: "{{ssl_check_hostname}}"
zookeeper_ssl_certfile: "{{ssl_certfile}}"
zookeeper_ssl_keyfile: "{{ssl_keyfile}}"

In my problem description I said that creating topics worked, then updates failed. So, this makes sense if I had the zookeeper connection setup using vars that it shouldn't have had, as zookeeper is used in cases where a topic already exists (e.g. an update action). It all makes sense now :)

Thank you very much looking into this and apologies for any time wasted looking into it.

from ansible-kafka-admin.

StephenSorriaux avatar StephenSorriaux commented on August 15, 2024

Thanks a lot for the heads up @justCatchingRye, I am glad to see everything is fine now.

from ansible-kafka-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.