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

Update zio-kafka to 2.7.4 #1436

Closed

Conversation

scala-steward
Copy link
Contributor

About this PR

πŸ“¦ Updates dev.zio:zio-kafka from 2.7.3 to 2.7.4

πŸ“œ GitHub Release Notes - Version Diff

Usage

βœ… Please merge!

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

βš™ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-kafka" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-kafka" }
}]
labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

@sirocchj
Copy link
Member

sirocchj commented May 8, 2024

io.github.embeddedkafka.schemaregistry.EmbeddedKafka.start() fails using 7.5.3 (current) or 7.6.1.1 (latest). The same type of error is happening also in this PR embeddedkafka/embedded-kafka-schema-registry#460 so it appears as though there need to be changes to support 3.7.0 in the existing 7.6.1.x or we need to wait until confluent releases 7.7.0

The error manifests itself with a complete shutdown of the JVM

➜  tamer git:(update/zio-kafka-2.7.4) sbt
[info] welcome to sbt 1.10.0 (Oracle Corporation Java 17.0.11)
[info] loading settings for project global-plugins from plugins.sbt ...
[info] loading global plugins from /Users/jsirocch/.sbt/1.0/plugins
[info] loading settings for project tamer-build-build-build from metals.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/project/project/project
[info] loading settings for project tamer-build-build from metals.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/project/project
[success] Generated .bloop/tamer-build-build.json
[success] Total time: 1 s, completed May 7, 2024, 10:18:14 PM
[info] loading settings for project tamer-build from metals.sbt,plugins.sbt ...
[info] loading project definition from /Users/jsirocch/Development/tamer/projec
[success] Generated .bloop/tamer-build.json
[success] Total time: 1 s, completed May 7, 2024, 10:18:15 PM
[info] loading settings for project tamer from build.sbt ...
[info] resolving key references (10203 settings) ...
[info]                β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„   β–„β–„ β–„
[info]          β–€β–€ β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€  β–„β–„β–„β–„β–„    β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„
[info]                         β–€β–€β–€β–€β–€β–€β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€  β–€β–„β–„β–„β–„   β–„β–„β–„β–„β–„β–€β–€β–€β–€β–„β–„β–„β–„β–„
[info]                           β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€      β–„β–„β–„β–„   β–„β–„β–€        β–€β–„β–„β–„
[info]                     β–„β–„β–„β–„β–„β–„ β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„       β–„β–„β–„                β–€β–„β–„β–„
[info]                    β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€β–€β–€β–€β–€β–€β–€       β–„β–„β–„                 β–„β–„
[info]                  β–„β–„β–„β–„β–„β–„β–€β–€     β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„β–„β–„β–„  β–„β–„ β–„β–„    β–„β–„β–„β–„β–„
[info]              β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„β–„β–€β–€β–€β–€β–€β–€β–€β–€β–€       β–„β–„
[info]            β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€β–€β–€β–€β–€      β–„β–„      β–„      β–„β–„β–„β–„β–€
[info]        β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€β–€β–€β–€β–€                β–„       β–€β–€β–„β–„β–„β–„β–„β–„β–€β–€
[info]      β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–€β–€β–€β–€
[info]    β–„β–„β–„β–„β–„β–„β–€β–€β–€β–€          tamer v.0.21.2+18-00cd1e5f-SNAPSHOT
[info]
[info] Useful sbt tasks:
[info] > lint                                    Verifies that all source files are properly formatted and have had all scalafix rules applied.
[info] > fmt                                     Formats source files using scalafmt.
[info] > fix                                     Fixes source files using using scalafix
[info] > prepare                                 Prepares sources by applying scalafmt and running scalafix.
[info] > quiet                                   `quite on` mutes the welcome banner whilst `quiet off` un-mutes it.
[info] > publish-all                             Signs and publishes all artifacts to Maven Central.
[info] > enableStrictCompile                     Enables strict compilation e.g. warnings become errors.
[info] > disableStrictCompile                    Disables strict compilation e.g. warnings are no longer treated as errors.
[info] > ~compile                                Compiles all modules (file-watch enabled)
[info] > test                                    Runs all tests
[info] > testOnly *.YourSpec -- -t \"YourLabel\" Only runs tests with matching term e.g.
[info]
[info]
[info] Here are some highlights of sbt 1.10.0:
[info]   - SIP-51 support for Scala 2.13 evolution
[info]   - Various Zinc fixes
[info]   - ConsistentAnalysisFormat: new Zinc Analysis serialization
[info]   - CommandProgress API
[info] See https://eed3si9n.com/sbt-1.10.0 for full release notes.
[info] Hide the banner for this release by running `skipBanner`.
[info] sbt server started at local:///Users/jsirocch/.sbt/1.0/server/e39e5175382a3c23ffc3/sock
[info] started sbt server
sbt:tamer> core/Test/console
[info] Starting scala interpreter...
Welcome to Scala 2.13.13 (Java HotSpot(TM) 64-Bit Server VM, Java 17.0.11).
Type in expressions for evaluation. Or try :help.

scala> import io.github.embeddedkafka.schemaregistry.EmbeddedKafka
import io.github.embeddedkafka.schemaregistry.EmbeddedKafka

scala> import io.github.embeddedkafka.schemaregistry.EmbeddedKafkaConfig.defaultConfig
import io.github.embeddedkafka.schemaregistry.EmbeddedKafkaConfig.defaultConfig

scala> EmbeddedKafka.start()
[2024-05-07 22:18:38,837][WARN ][pool-49-thread-7][o.a.z.server.ServerCnxnFactory] maxCnxns is not configured, using default value 0.
[2024-05-07 22:18:39,442][WARN ][Controller-0-to-broker-0-send-thread][o.apache.kafka.clients.NetworkClient] [Controller id=0, targetBrokerId=0] Connection to node 0 (localhost/127.0.0.1:6001) could not be established. Node may not be available.
[2024-05-07 22:18:39,442][WARN ][Controller-0-to-broker-0-send-thread][kafka.controller.RequestSendThread] [RequestSendThread controllerId=0] Controller 0's connection to broker localhost:6001 (id: 0 rack: null) was unsuccessful
java.io.IOException: Connection to localhost:6001 (id: 0 rack: null) failed.
	at org.apache.kafka.clients.NetworkClientUtils.awaitReady(NetworkClientUtils.java:71)
	at kafka.controller.RequestSendThread.brokerReady(ControllerChannelManager.scala:298)
	at kafka.controller.RequestSendThread.doWork(ControllerChannelManager.scala:251)
	at org.apache.kafka.server.util.ShutdownableThread.run(ShutdownableThread.java:131)
[info] shutting down sbt server
➜  tamer git:(update/zio-kafka-2.7.4)

@scala-steward
Copy link
Contributor Author

Superseded by #1521.

@sirocchj sirocchj closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants