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

Bump kafka-clients from 1.1.1 to 3.4.0 #95

Open
wants to merge 2,440 commits into
base: 2.x
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 1, 2023

Bumps kafka-clients from 1.1.1 to 3.4.0.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

jvz and others added 30 commits June 18, 2022 17:44
Signed-off-by: Matt Sicker <[email protected]>
Signed-off-by: Matt Sicker <[email protected]>
Now this test takes several seconds to run rather than a minute.

Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Relates to LOG4J2-2923.

Signed-off-by: Matt Sicker <[email protected]>
Only one test needs write permission to `MarkerManager`
If these classes use the same logger, they can not be run concurrently.
The `ExtensionContextAnchor` extension can be auto-discovered by JUnit
5, if autodiscovery is enabled. It will be used whenever a static access
to per-test objects is needed.
A JUnit5 extension is provided to restore the default
ThreadContextFactory after the test finishes.
A `PropertiesUtil#reload()` switched the `ThreadContext` to inheritable
permanently.
- Magic constants
- Redundant comparisons
- Make inner class static

Signed-off-by: Matt Sicker <[email protected]>
Signed-off-by: Matt Sicker <[email protected]>
This avoids some potential NullPointerExceptions according to static code analysis.

Signed-off-by: Matt Sicker <[email protected]>
After the merge between `LifeCycle` and `LifeCycle2` some tests broke.
If the tests of a module fail, allow other test suites to run.
jvz and others added 26 commits November 12, 2022 18:45
Clean up static config in SimpleLogger/StatusLogger
Using compareAndSet with getAcquire sort of defeats the purpose of the fence as it uses volatile get which has stronger memory safety than getAcquire.

Signed-off-by: Matt Sicker <[email protected]>
This adds a Lazy variant where the supplier function is a pure function. Given a pure function, memory reordering semantics are mostly irrelevant, so this can both safely recompute the value and publish more than one resulting computed reference as the results should all be the same value.

This updates JSON encoding cache tables to use Lazy::pure.

Signed-off-by: Matt Sicker <[email protected]>
Signed-off-by: Matt Sicker <[email protected]>
This pulls together all the various property names used in log4j-core into a central class. Future property names are documented in these classes for future work with enhancing properties.

This also migrates a few tests to JUnit 5 while updating them to use the centralized properties class. Other tests were updated to more consistently set and clear system properties when using JUnit 4 along with more direct use of LoggerContextRule.

Signed-off-by: Matt Sicker <[email protected]>
After having failed CI randomly more than once, off to disabled land you go until someone can fix the test to be deterministic.

Signed-off-by: Matt Sicker <[email protected]>
Signed-off-by: Matt Sicker <[email protected]>
Signed-off-by: Matt Sicker <[email protected]>
Log4j2's Marker#getParents() does actually return `null` instead of an
empty array.
This PR adds a minimal amount of methods to simplify flow
tracing with `LogBuilder`. E.g.:

```
logger.traceEntry("a={}, b={}", 1, 42);
```

can be now rewrittent as:

```
logger.atTrace()
      .withMarker(AbstractLogger.ENTRY_MARKER)
      .logAndGet(() -> {
           LoggingSystem.getFlowMessageFactory()
                        .newEntryMessage("a={}, b={}", 1, 42);
       });
```

The latter can be easily perfomed by a bytecode manipulation tool.
Bumps kafka-clients from 1.1.1 to 3.4.0.

---
updated-dependencies:
- dependency-name: org.apache.kafka:kafka-clients
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.