Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/KafkaNET.Library/Cfg/SyncProducerConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class SyncProducerConfiguration : ISyncProducerConfigShared

public const int DefaultCorrelationId = -1;

public const string DefaultClientId = "";
public const string DefaultClientId = " ";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

John Stark (@johnstark) , Can we set it to something less obscure?
Java api does something like following which could help while debugging.

if (clientId.length() <= 0)
clientId = "producer-" + PRODUCER_CLIENT_ID_SEQUENCE.getAndIncrement();


public const short DefaultRequiredAcks = 0;

Expand Down