Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
few things for this PR
this will close #38
this will address parts of #133
added a client flag to enable broker aware request so that we will attempt to fetch and use the latest supported versions
(you have to use ProduceRequest v2 or higher to actually enable support for using message v1)
the integration tests now log to a file under the top level dir
logs
only the client logs to stdout for itests... the itests also now use pytest and if there is a failure the logs will be included in the test outputintegration tests now also run against broker version
2.8.2
as well as still running against1.1.1
and0.9.0.1
3.9.4
will be added in the next PR that will include record/recordBatch handlingthere are several places where
magic
was added to the encoder to handle different ways the message might be built before passing it to the producer to to send but for anyone using the normalproducer.send_messages
this should be handled automatically... if you use the low levelproducer.send_produce_request
then you will need to update your code to pass in themagic
to the messages you construct to pass to the ProduceRequest this would only be for the case where you want to use the non-defaulted value (always 0)