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

[fix][client] Fix client erroneous code comments #19915

Merged
merged 3 commits into from
Mar 29, 2023
Merged
Changes from 2 commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -243,15 +243,15 @@ ClientBuilder authentication(String authPluginClassName, Map<String, String> aut
ClientBuilder lookupTimeout(int lookupTimeout, TimeUnit unit);

/**
* Set the number of threads to be used for handling connections to brokers <i>(default: 1 thread)</i>.
* Set the number of threads to be used for handling connections to brokers <i>(default is Runtime.getRuntime().availableProcessors())</i>.
*
* @param numIoThreads the number of IO threads
* @return the client builder instance
*/
ClientBuilder ioThreads(int numIoThreads);

/**
* Set the number of threads to be used for message listeners <i>(default: 1 thread)</i>.
* Set the number of threads to be used for message listeners <i>(default is Runtime.getRuntime().availableProcessors())</i>.
*
* <p>The listener thread pool is shared across all the consumers and readers that are
* using a "listener" model to get messages. For a given consumer, the listener will be
Expand Down