Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While you were gone... #566

Merged
merged 16 commits into from
Sep 12, 2023
Merged

While you were gone... #566

merged 16 commits into from
Sep 12, 2023

Conversation

sverrehu
Copy link
Contributor

@sverrehu sverrehu commented Mar 28, 2023

Things that we already implemented where I work. Leaving it here in a multi purpose PR in case @purbon is interested at some time in the future. It's all in my main-sverrehu branch.

  • Update all dependencies to latest versions, including container versions in the code, and including rewriting now deprecated code.
  • Add a --recursive flag that allows finding topology files in subdirectories.
  • Remove the DEBUG logs that cluttered both test and run outputs.
  • Allow logging of INFO and above for AdminClient, instead of silencing it completely.
  • Replace the abandoned Java code formatter with the one from Spotify, which is up to date with Java 17.
  • Move ZooKeeper classes to src/test and mark the zookeeper dependency as test-scoped, since it was only used in tests, and dragged unwanted dependencies into the shaded jar. (These dependencies caused the spam of all kinds of DEBUG messages in the output.)

#3)

* Don't throw exception if JuleOps is not allowed to delete topics.
* Update README.md

* fix: Apply formatting, using a formatter that supports Java 17

* chore: Update dependencies

* chore: Update dependencies

* Update container versions

* fix: Replace deprecated AssertJ method

* chore: Upgrade Confluent version in workflow

* fix: Replace deprecated methods

* fix: Replace deprecated methods

* chore: Update dependencies

* fix: Extend connector path for new version of connect

* fix: Revert ksqldb-server to a version that makes the test pass

* fix: Correct return value from exception handler

* fix: Hack around bug KAFKA-14325
The Zookeeper dependency is required for a single test method only. This PR moves all ZK* classes to src/test, and marks the zookeeper dependency as test-coped.

Unfortunately, recent versions of zookeeper drag in a logback dependency, that appears to turn on global DEBUG logging. So this PR also exludes those logback dependencies.

Fixes kafka-ops#548
* Excludes all Log4j2Plugins.dat from the shaded jar, to avoid Log4j2 startup problems (ERROR StatusLogger Unrecognized conversion specifier...)

* Adds a log4j.properties that will be picked up by the Kafka dependencies
* chore: Update some deps

* chore: Update some deps

* chore: Upgrade Confluent Platform
Copy link
Contributor

@piotrsmolinski piotrsmolinski left a comment

Choose a reason for hiding this comment

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

Found one typo. Most of the changes are formatting/housekeeping. Functional changes are sound.

@purbon
Copy link
Collaborator

purbon commented Sep 12, 2023

Thanks @sverrehu for your lovely work, while I'm kinda retired, @piotrsmolinski is helping out and he is preparing another PR, so love to get yours in. I hope that is ok for you.

…t.java

Co-authored-by: piotrsmolinski <piotr.smolinski.77@gmail.com>
@sverrehu
Copy link
Contributor Author

Thanks @sverrehu for your lovely work, while I'm kinda retired, @piotrsmolinski is helping out and he is preparing another PR, so love to get yours in. I hope that is ok for you.

Of course, Pere!

@purbon
Copy link
Collaborator

purbon commented Sep 12, 2023

Thanks again @sverrehu, merging this PR right now. @piotrsmolinski appreciate as well a ton your thoughts and help

@purbon purbon merged commit 3fae19d into kafka-ops:master Sep 12, 2023
2 checks passed
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.

None yet

3 participants