You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "scala-steward-asf[bot] (via GitHub)" <gi...@apache.org> on 2025/03/23 00:09:40 UTC
[PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
scala-steward-asf[bot] opened a new pull request, #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296
## About this PR
📦 Updates [org.apache.kafka:kafka-clients](https://kafka.apache.org) from `3.9.0` to `4.0.0` âš
## 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`](https://github.com/scala-steward-org/scala-steward/blob/f0dfaa6d8e24b261aeafbc7f99c5325ed9365cf2/docs/repo-specific-configuration.md) file.
_Have a fantastic day writing Scala!_
<details>
<summary>âš™ Adjust future updates</summary>
Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
```
updates.ignore = [ { groupId = "org.apache.kafka", artifactId = "kafka-clients" } ]
```
Or, add this to slow down future updates of this dependency:
```
dependencyOverrides = [{
pullRequests = { frequency = "30 days" },
dependency = { groupId = "org.apache.kafka", artifactId = "kafka-clients" }
}]
```
</details>
<sup>
labels: library-update, early-semver-major, semver-spec-major, commit-count:1
</sup>
<!-- scala-steward = {
"Update" : {
"ForArtifactId" : {
"crossDependency" : [
{
"groupId" : "org.apache.kafka",
"artifactId" : {
"name" : "kafka-clients",
"maybeCrossName" : null
},
"version" : "3.9.0",
"sbtVersion" : null,
"scalaVersion" : null,
"configurations" : null
}
],
"newerVersions" : [
"4.0.0"
],
"newerGroupId" : null,
"newerArtifactId" : null
}
},
"Labels" : [
"library-update",
"early-semver-major",
"semver-spec-major",
"commit-count:1"
]
} -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "Dichotomia (via GitHub)" <gi...@apache.org>.
Dichotomia commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-3208185639
Hi everyone. Any news about that work ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-2754221603
I fixed the compile issues in the main source but now there are quite a few in the test source.
```
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:84:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:120:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:160:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:[194](https://github.com/apache/pekko-connectors-kafka/actions/runs/14083074066/job/39440313548?pr=296#step:6:195):20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:229:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:262:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:295:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:331:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:367:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:407:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:444:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](false, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:483:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](false, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:526:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](false, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:572:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:605:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:643:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/CommittingProducerSinkSpec.scala:677:20: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val producer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/tests/src/test/scala/org/apache/pekko/kafka/internal/ProducerSpec.scala:161:26: overloaded method constructor MockProducer with alternatives:
[error] ()org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: Boolean,x$2: org.apache.kafka.clients.producer.Partitioner,x$3: org.apache.kafka.common.serialization.Serializer[String],x$4: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String] <and>
[error] (x$1: org.apache.kafka.common.Cluster,x$2: Boolean,x$3: org.apache.kafka.clients.producer.Partitioner,x$4: org.apache.kafka.common.serialization.Serializer[String],x$5: org.apache.kafka.common.serialization.Serializer[String])org.apache.kafka.clients.producer.MockProducer[String,String]
[error] cannot be applied to (Boolean, org.apache.kafka.common.serialization.StringSerializer, org.apache.kafka.common.serialization.StringSerializer)
[error] val mockProducer = new MockProducer[String, String](true, new StringSerializer, new StringSerializer)
[error] ^
[error] 18 errors found
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "raboof (via GitHub)" <gi...@apache.org>.
raboof closed pull request #296: Update kafka-clients to 4.0.0
URL: https://github.com/apache/pekko-connectors-kafka/pull/296
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on code in PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#discussion_r2014163513
##########
core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:
##########
@@ -43,12 +43,6 @@ final class RestrictedConsumer(consumer: Consumer[_, _], duration: java.time.Dur
def commitSync(offsets: java.util.Map[TopicPartition, OffsetAndMetadata]): Unit =
consumer.commitSync(offsets, duration)
- /**
- * See [[org.apache.kafka.clients.consumer.KafkaConsumer#committed(TopicPartition,java.time.Duration)]]
- */
- @deprecated("use `committed(java.util.Set[TopicPartition])`", "Alpakka Kafka 2.0.5")
- def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration)
Review Comment:
method removed from Kafka 4.0.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "gaeljw (via GitHub)" <gi...@apache.org>.
gaeljw commented on code in PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#discussion_r2020170677
##########
testkit/src/main/scala/org/apache/pekko/kafka/testkit/scaladsl/KafkaSpec.scala:
##########
@@ -37,6 +37,7 @@ import org.apache.kafka.clients.producer.{ Producer => KProducer, ProducerRecord
import org.apache.kafka.common.ConsumerGroupState
import org.slf4j.{ Logger, LoggerFactory }
+import scala.annotation.nowarn
import scala.collection.immutable
import scala.concurrent.duration._
import scala.concurrent.{ Await, ExecutionContext, Future }
Review Comment:
(Comment for line 46 below) I see there's still a `zooKeeperPort`, does it still make sense with Kafka 4.x? I haven't looked at how it's used but Kafka server 4.x requires KRaft mode and there's no ZK anymore.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-2746134928
upgrade causes compile issues due to API changes
```
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:50:77: type mismatch;
[error] found : org.apache.kafka.common.TopicPartition
[error] required: java.util.Set[org.apache.kafka.common.TopicPartition]
[error] def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/RestrictedConsumer.scala:50:67: overloaded method committed with alternatives:
[error] (x$1: java.util.Set[org.apache.kafka.common.TopicPartition],x$2: java.time.Duration)java.util.Map[org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata] <and>
[error] (x$1: java.util.Set[org.apache.kafka.common.TopicPartition])java.util.Map[org.apache.kafka.common.TopicPartition,org.apache.kafka.clients.consumer.OffsetAndMetadata]
[error] does not match arguments (?, java.time.Duration) with expected result type org.apache.kafka.clients.consumer.OffsetAndMetadata
[error] def committed(tp: TopicPartition): OffsetAndMetadata = consumer.committed(tp, duration)
[error] ^
[error] /home/runner/work/pekko-connectors-kafka/pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/internal/KafkaConsumerActor.scala:721:74: type mismatch;
[error] found : org.apache.kafka.common.TopicPartition
[error] required: java.util.Set[org.apache.kafka.common.TopicPartition]
[error] @nowarn("cat=deprecation") val offset = consumer.committed(req.partition, settings.getMetadataRequestTimeout)
[error] ^
[error] three errors found
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-3208222424
> Hi everyone. Any news about that work ?
We don't have much interest in the Pekko community is reviewing what's done. There is bigger interest in the core modules (apache/pekko) but these extra modules are not a major focus.
Have you tried using pekko-connectors-kafka v1.1.0 (uses kafka-clients 3)? I'm no expert but I had the impression that kafka-clients 3 is expected to work with Kafka Server 4.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "raboof (via GitHub)" <gi...@apache.org>.
raboof commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-3588808789
this was since merged as #358
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#issuecomment-2755858020
looks like Java 8 is properly support with Kafka 4.0.0 - https://dlcdn.apache.org/kafka/4.0.0/RELEASE_NOTES.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Update kafka-clients to 4.0.0 [pekko-connectors-kafka]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on code in PR #296:
URL: https://github.com/apache/pekko-connectors-kafka/pull/296#discussion_r2022599064
##########
testkit/src/main/scala/org/apache/pekko/kafka/testkit/scaladsl/KafkaSpec.scala:
##########
@@ -37,6 +37,7 @@ import org.apache.kafka.clients.producer.{ Producer => KProducer, ProducerRecord
import org.apache.kafka.common.ConsumerGroupState
import org.slf4j.{ Logger, LoggerFactory }
+import scala.annotation.nowarn
import scala.collection.immutable
import scala.concurrent.duration._
import scala.concurrent.{ Await, ExecutionContext, Future }
Review Comment:
I raised #301 . I would like to treat the client and server upgrades as separate issues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org