Dana Powers

Results 48 comments of Dana Powers

This is probably caused by a race condition caused by a new metadata response between `_wait_for_metadata` and `_partition`.

Can you elaborate? which testing facilities do you mean?

Ok -- fixture code requires getting and managing all the data in the `servers/` directory. How would you envision managing that as an exported package?

makes sense and on board! I am a fan of asserts to document assumptions, but I think you're right that we're probably abusing them in cases like this.

Also note that technically what is raised is `IllegalStateError` which isn't strictly an assertion. This was done to mirror the java client, which I believe raises a similar error in...

> I think it would be great if there would me a more meaningful exception (like UnsupportedApiVersion) that is indicating to the user that the api version that he is...

Agree that this seems strange. We're following the java client design very closely on this, and it follows the same pattern -- Exceptions are caught and logged. One alternate approach...

This is expected. The "bootstrap" connections are exactly that: bootstraps. They are disconnected once the normal cluster connections are established. You can see this in the logs you posted. node_id=1...

kafka-python passes config directly to python's ssl module (load_cert_chain). If you need assistance, perhaps consult python ssl docs more generally.