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

Add withClientId to ProducerSettings #108

Closed
wants to merge 2 commits into from
Closed

Add withClientId to ProducerSettings #108

wants to merge 2 commits into from

Conversation

dragisak
Copy link
Contributor

This is the same as akka/alpakka-kafka#1470

@pjfanning
Copy link
Contributor

@mdedetrich seems ok to me - even for 1.0.0 - wdyt?

@dragisak
Copy link
Contributor Author

This is adding parity with ConsumerSettings.withClientId

@mdedetrich
Copy link
Contributor

mdedetrich commented Jul 14, 2023

According to CI this method already exists? https://github.com/apache/incubator-pekko-connectors-kafka/actions/runs/5548446654/jobs/10131476588?pr=108 ?

[error] /home/runner/work/incubator-pekko-connectors-kafka/incubator-pekko-connectors-kafka/core/src/main/scala/org/apache/pekko/kafka/ProducerSettings.scala:249:7: method withClientId is defined twice;
[error]   the conflicting method withClientId was defined at line 242:7
[error]   def withClientId(clientId: String): ProducerSettings[K, V] =

at https://github.com/apache/incubator-pekko-connectors-kafka/blob/1a7434f4af829b13ecdc4459850a3df41cc3fb43/core/src/main/scala/org/apache/pekko/kafka/ProducerSettings.scala#L242-L243

Actually according to git blame you already added this method (which we inherited from Akka)

@pjfanning
Copy link
Contributor

I mistook the date of the alpakka merge - it was Feb 2022. I assumed it was 2023.

The code in incubator-pekko-connectors-kafka was forked in Sept 2023 so everything merged before Sept 2023 is in this pekko fork already.

@dragisak
Copy link
Contributor Author

Ha. I created this PR because my Akka code change didn't make into the release. Closing this then

@mdedetrich mdedetrich closed this Jul 14, 2023
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