You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicconstBOOTSTRAP_SERVERS_DOC = 'A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. This list should be in the form '
publicconststringBOOTSTRAP_SERVERS_DOC = 'A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. The client will make use of all servers irrespective of which servers are specified here for bootstrapping—this list only impacts the initial hosts used to discover the full set of servers. This list should be in the form '
20
23
. '<code>host1:port1,host2:port2,...</code>. Since these servers are just used for the initial connection to '
21
24
. 'discover the full cluster membership (which may change dynamically), this list need not contain the full set of '
22
25
. 'servers (you may want more than one, though, in case a server is down).';
publicconstCLIENT_DNS_LOOKUP_DOC = '<p>Controls how the client uses DNS lookups.</p><p>If set to <code>use_all_dns_ips</code> then, when the lookup returns multiple IP addresses for a hostname,'
publicconststringCLIENT_DNS_LOOKUP_DOC = '<p>Controls how the client uses DNS lookups.</p><p>If set to <code>use_all_dns_ips</code> then, when the lookup returns multiple IP addresses for a hostname,'
25
28
. ' they will all be attempted to connect to before failing the connection. Applies to both bootstrap and advertised servers.</p>'
26
29
. '<p>If the value is <code>resolve_canonical_bootstrap_servers_only</code> each entry will be resolved and expanded into a list of canonical names.</p>';
27
-
publicconstCLIENT_ID_CONFIG = 'client.id';
28
-
publicconstCLIENT_ID_DOC = 'An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging.';
publicconstMETADATA_MAX_AGE_DOC = "The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.";
publicconstMETRIC_REPORTER_CLASSES_DOC = 'A list of classes to use as metrics reporters. Implementing the <code>org.apache.kafka.common.metrics.MetricsReporter</code> interface allows plugging in classes that will be notified of new metric creation. The JmxReporter is always included to register JMX statistics.';
publicconstRECEIVE_BUFFER_DOC = 'The size of the TCP receive buffer (SO_RCVBUF) to use when reading data. If the value is -1, the OS default will be used.';
publicconstRECONNECT_BACKOFF_MAX_MS_DOC = 'The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect. If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum. After calculating the backoff increase, 20% random jitter is added to avoid connection storms.';
publicconstRECONNECT_BACKOFF_MS_DOC = 'The base amount of time to wait before attempting to reconnect to a given host. This avoids repeatedly connecting to a host in a tight loop. This backoff applies to all connection attempts by the client to a broker.';
publicconstREQUEST_TIMEOUT_MS_DOC = 'The configuration controls the maximum amount of time the client will wait '
30
+
publicconststringCLIENT_ID_CONFIG = 'client.id';
31
+
publicconststringCLIENT_ID_DOC = 'An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging.';
publicconststringMETADATA_MAX_AGE_DOC = "The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.";
publicconststringMETRIC_REPORTER_CLASSES_DOC = 'A list of classes to use as metrics reporters. Implementing the <code>org.apache.kafka.common.metrics.MetricsReporter</code> interface allows plugging in classes that will be notified of new metric creation. The JmxReporter is always included to register JMX statistics.';
publicconststringRECEIVE_BUFFER_DOC = 'The size of the TCP receive buffer (SO_RCVBUF) to use when reading data. If the value is -1, the OS default will be used.';
publicconststringRECONNECT_BACKOFF_MAX_MS_DOC = 'The maximum amount of time in milliseconds to wait when reconnecting to a broker that has repeatedly failed to connect. If provided, the backoff per host will increase exponentially for each consecutive connection failure, up to this maximum. After calculating the backoff increase, 20% random jitter is added to avoid connection storms.';
publicconststringRECONNECT_BACKOFF_MS_DOC = 'The base amount of time to wait before attempting to reconnect to a given host. This avoids repeatedly connecting to a host in a tight loop. This backoff applies to all connection attempts by the client to a broker.';
publicconststringREQUEST_TIMEOUT_MS_DOC = 'The configuration controls the maximum amount of time the client will wait '
51
54
. 'for the response of a request. If the response is not received before the timeout '
52
55
. 'elapses the client will resend the request if necessary or fail the request if '
53
56
. 'retries are exhausted.';
54
-
publicconstRETRIES_CONFIG = 'retries';
55
-
publicconstRETRIES_DOC = 'Setting a value greater than zero will cause the client to resend any request that fails with a potentially transient error.';
publicconstRETRY_BACKOFF_MS_DOC = 'The amount of time to wait before attempting to retry a failed request to a given topic partition. This avoids repeatedly sending requests in a tight loop under some failure scenarios.';
58
-
publicconstSASL_USERNAME = 'sasl.username';
59
-
publicconstSASL_USERNAME_DOC = 'SASL username for use with the PLAIN mechanism.';
60
-
publicconstSASL_MECHANISM = 'sasl.mechanisms';
61
-
publicconstSASL_MECHANISM_DOC = 'SASL mechanism to use for authentication. Supported: GSSAPI, PLAIN.';
62
-
publicconstSASL_PASSWORD = 'sasl.password';
63
-
publicconstSASL_PASSWORD_DOC = 'SASL password for use with the PLAIN mechanism.';
publicconstSEND_BUFFER_DOC = 'The size of the TCP send buffer (SO_SNDBUF) to use when sending data. If the value is -1, the OS default will be used.';
68
-
publicconstSEND_BUFFER_LOWER_BOUND = -1;
57
+
publicconststringRETRIES_CONFIG = 'retries';
58
+
publicconststringRETRIES_DOC = 'Setting a value greater than zero will cause the client to resend any request that fails with a potentially transient error.';
publicconststringRETRY_BACKOFF_MS_DOC = 'The amount of time to wait before attempting to retry a failed request to a given topic partition. This avoids repeatedly sending requests in a tight loop under some failure scenarios.';
61
+
publicconststringSASL_USERNAME = 'sasl.username';
62
+
publicconststringSASL_USERNAME_DOC = 'SASL username for use with the PLAIN mechanism.';
publicconststringSEND_BUFFER_DOC = 'The size of the TCP send buffer (SO_SNDBUF) to use when sending data. If the value is -1, the OS default will be used.';
0 commit comments