Skip to content

KAFKA-2276: KIP-25 initial patch#70

Closed
granders wants to merge 52 commits intoapache:trunkfrom
confluentinc:KAFKA-2276
Closed

KAFKA-2276: KIP-25 initial patch#70
granders wants to merge 52 commits intoapache:trunkfrom
confluentinc:KAFKA-2276

Conversation

@granders
Copy link
Contributor

Initial patch for KIP-25

Note that to install ducktape, do not use pip to install ducktape. Instead:

$ git clone [email protected]:confluentinc/ducktape.git
$ cd ducktape 
$ python setup.py install

Ishiihara and others added 30 commits April 24, 2015 09:32
…nchronization for thread safety on println statements.
…e intuitive behavior when targetThroughput is 0.
@ewencp
Copy link
Contributor

ewencp commented Jun 16, 2015

Probably worth clarifying that before this gets committed we'll want one final update to pin ducktape to a specific version, but there's no need push that ducktape release to PyPI until we're sure we have all the changes to ducktape we need to land this patch. We don't normally want people to have to checkout ducktape from its repository in order to run the system tests.

@granders
Copy link
Contributor Author

As Ewen mentioned, I won't pin these changes to a ducktape release until just before merging in case updates to ducktape are requested while this pull request is being examined.

To clarify what changes are present in this pull request: This initial pull request contains a small number of tests which starts but does not complete the process of porting/replacing existing system test code (https://cwiki.apache.org/confluence/display/KAFKA/Roadmap+-+port+existing+system+tests) It also has updates to Vagrant necessary for running the tests on a Vagrant cluster.

Kafka codebase:

  • New tool called VerifiableProducer which writes metadata about produce requests to stdout
  • corresponding update to build.gradle
  • Other small refactorings

Vagrant:

  • Updates to Vagrantfile and some examples of Vagrantfile.local which are necessary for running the tests with ducktape

tests/ directory:

  • This contains the python code which makes up the actual sample system tests as well as a few core Service classes (e.g. Zookeeper, Kafka, ConsoleConsumer etc.)

@granders granders changed the title Kafka 2276 KAFKA-2276: KIP-25 initial patch Jun 22, 2015
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.8.3-SNAPSHOT -> 0.8.3

Why? According to packaging standards (https://www.pypa.io/en/latest/peps/#pep426-metadata-for-python-software-packages-2-0), PEP440 should be used as a guide to versioning for pip and other packaging tools.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we want to change this now? We probably shouldn't even be publishing to PyPI except on releases when this would change anyway. In fact, shouldn't we just try to grab it out of build.gradle or wherever it normally is so we don't have version information duplicated in more locations than necessary?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with @ewencp - Apache is pretty strict about separating work-in-progress artifacts and public-consumable artifacts, and they have a bunch of legal reasons for that: http://www.apache.org/dev/release.html#releases

An alternative to grabbing version out of build.gradle is a small release script that will update the version everywhere at once.

@gwenshap
Copy link
Contributor

FYI: git clone [email protected]:confluentinc/ducktape.git
doesn't work for everyone. git clone https://github.com/confluentinc/ducktape.git
does.

@ewencp
Copy link
Contributor

ewencp commented Jul 8, 2015

@granders In light of https://issues.apache.org/jira/browse/KAFKA-2316 this patch should probably be updated to use JDK7. Might require a couple of changes to the Vagrantfile in addition to updating the jdk6 references in the code added by this patch.

@granders
Copy link
Contributor Author

@junrao Would you mind looking through the changes introduced in the last commit (creating separate tools jar)?

This avoids adding extra dependencies to the client jar as we discussed, but we will still need to fix the releaseTarGz and uploadArchives targets.

@asfbot
Copy link

asfbot commented Jul 21, 2015

kafka-trunk-git-pr #23 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link

asfbot commented Jul 22, 2015

kafka-trunk-git-pr #31 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link

asfbot commented Jul 27, 2015

kafka-trunk-git-pr #53 FAILURE
Looks like there's a problem with this pull request

@asfbot
Copy link

asfbot commented Jul 27, 2015

kafka-trunk-git-pr #54 SUCCESS
This pull request looks good

@asfgit asfgit closed this in e43c9af Jul 29, 2015
@ijuma
Copy link
Member

ijuma commented Jul 29, 2015

@guozhangwang, I notice that this was merged even though there is no LGTM in the PR. A number of reviewers were added to the commit message, so perhaps the LGTM was given somewhere else? Still, for clarity and transparency, it's important that people state in the PR that they are happy with it before it actually gets merged.

A separate point is who is included as a reviewer in the commit message. I'll raise that in the mailing list.

@guozhangwang
Copy link
Contributor

@ijuma you are right, it is my bad. I thought Jun / Gwen have gave it a +1 but I did not double check myself.

guozhangwang added a commit to guozhangwang/kafka that referenced this pull request Sep 23, 2015
@ewencp ewencp deleted the KAFKA-2276 branch December 27, 2016 17:17
efeg pushed a commit to efeg/kafka that referenced this pull request Jan 29, 2020
rustd pushed a commit to rustd/pranavfinaldemokafka that referenced this pull request Feb 9, 2024
…pache#70)

Also moved KRaft mode above zk mode.

Reviewers: Mickael Maison <[email protected]>

Co-authored-by: Ismael Juma <[email protected]>
davide-armand pushed a commit to aiven/kafka that referenced this pull request Dec 1, 2025
* fix(docker): add control-plane config to fix compose

* chore(tools): add make targets for common gradle tasks
fvaleri added a commit to fvaleri/kafka that referenced this pull request Feb 4, 2026
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

Successfully merging this pull request may close these issues.

7 participants