Skip to content

KAFKA-7844: Use regular subproject for generator to fix *All targets#6182

Merged
ijuma merged 4 commits intoapache:trunkfrom
stanislavkozlovski:KAFKA-7844
Jan 22, 2019
Merged

KAFKA-7844: Use regular subproject for generator to fix *All targets#6182
ijuma merged 4 commits intoapache:trunkfrom
stanislavkozlovski:KAFKA-7844

Conversation

@stanislavkozlovski
Copy link
Copy Markdown
Contributor

@stanislavkozlovski stanislavkozlovski commented Jan 21, 2019

The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets. It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code. This also makes it more
straightforward to run the generator unit tests.

Continuation from #6169 with an added commit to exclude the integrationTest for generator, as it would break when ./gradlew integrationTest got ran.

cmccabe and others added 3 commits January 18, 2019 12:51
The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets.  It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code.  This also makes it more
straightforward to run the generator unit tests.
build.gradle: The :generator module should not reference
org.apache.kafka.test.IntegrationTest.IntegrationTest, since it resides
in the client module which we may not have yet compiled.
@ijuma ijuma changed the title KAFKA-7844: Fix installAll, jarAll, etc. targets KAFKA-7844: Move protocol generator to its own module to fix *All Gradle targets Jan 21, 2019
@ijuma ijuma changed the title KAFKA-7844: Move protocol generator to its own module to fix *All Gradle targets KAFKA-7844: Use regular subproject for protocol generator to fix *All targets Jan 21, 2019
@ijuma ijuma changed the title KAFKA-7844: Use regular subproject for protocol generator to fix *All targets KAFKA-7844: Use regular subproject for generator to fix *All targets Jan 21, 2019
Copy link
Copy Markdown
Member

@ijuma ijuma left a comment

Choose a reason for hiding this comment

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

LGTM

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jan 21, 2019

retest this please

@ijuma ijuma merged commit fb0db76 into apache:trunk Jan 22, 2019
abbccdda pushed a commit to abbccdda/kafka that referenced this pull request Jan 24, 2019
…pache#6182)

The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets. It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code. This also makes it more
straightforward to run the generator unit tests.

Reviewers: David Arthur <mumrah@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Co-authored-by: Colin P. Mccabe <cmccabe@confluent.io>
Co-authored-by: Stanislav Kozlovski <stanislav_kozlovski@outlook.com>
jarekr pushed a commit to confluentinc/kafka that referenced this pull request Apr 18, 2019
* ak/trunk:
  MINOR: fix race condition in KafkaStreamsTest (apache#6185)
  KAFKA-4850: Enable bloomfilters (apache#6012)
  MINOR: ducker-ak: add down -f, avoid using a terminal in ducker test
  KAFKA-5117: Stop resolving externalized configs in Connect REST API
  MINOR: Cleanup handling of mixed transactional/idempotent records (apache#6172)
  KAFKA-7844: Use regular subproject for generator to fix *All targets (apache#6182)
  Fix Documentation for cleanup.policy is out of date (apache#6181)
  MINOR: increase timeouts for KafkaStreamsTest (apache#6178)
  MINOR: Rejoin split ssl principal mapping rules (apache#6099)
  MINOR: Handle case where connector status endpoints returns 404 (apache#6176)
  MINOR: Remove unused imports, exceptions, and values (apache#6117)
  KAFKA-3522: Add internal RecordConverter interface (apache#6150)
  Fix Javadoc of KafkaConsumer (apache#6155)
  KAFKA-6455: Extend CacheFlushListener to forward timestamp (apache#6147)
  MINOR: Log partition info when creating new request batch in controller (apache#6145)
  KAFKA-7652: Part I; Fix SessionStore's findSession(single-key) (apache#6134)
  MINOR: Remove the InvalidTopicException handling in InternalTopicManager (apache#6167)
  [KAFKA-7024] Rocksdb state directory should be created before opening the DB (apache#6138)
  MINOR:: Fix typos (apache#6079)
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
…pache#6182)

The presence of the buildSrc subproject is causing problems when we try
to run installAll, jarAll, and the other "all" targets. It's easier
just to make the generator code a regular subproject and use the
JavaExec gradle task to run the code. This also makes it more
straightforward to run the generator unit tests.

Reviewers: David Arthur <mumrah@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Co-authored-by: Colin P. Mccabe <cmccabe@confluent.io>
Co-authored-by: Stanislav Kozlovski <stanislav_kozlovski@outlook.com>
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.

3 participants