Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- abort() - Method in class org.apache.kafka.common.security.plain.PlainLoginModule
- abort() - Method in class org.apache.kafka.common.security.scram.ScramLoginModule
- abortTransaction() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Aborts the ongoing transaction.
- abortTransaction() - Method in class org.apache.kafka.clients.producer.MockProducer
- abortTransaction() - Method in interface org.apache.kafka.clients.producer.Producer
- abortTransaction(AbortTransactionSpec) - Method in interface org.apache.kafka.clients.admin.Admin
-
Forcefully abort a transaction which is open on a topic partition.
- abortTransaction(AbortTransactionSpec, AbortTransactionOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Forcefully abort a transaction which is open on a topic partition.
- abortTransaction(AbortTransactionSpec, AbortTransactionOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- abortTransaction(AbortTransactionSpec, AbortTransactionOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- abortTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
- AbortTransactionOptions - Class in org.apache.kafka.clients.admin
- AbortTransactionOptions() - Constructor for class org.apache.kafka.clients.admin.AbortTransactionOptions
- AbortTransactionResult - Class in org.apache.kafka.clients.admin
- AbortTransactionSpec - Class in org.apache.kafka.clients.admin
- AbortTransactionSpec(TopicPartition, long, short, int) - Constructor for class org.apache.kafka.clients.admin.AbortTransactionSpec
- AbstractConfig - Class in org.apache.kafka.common.config
-
A convenient base class for configurations to extend.
- AbstractConfig(ConfigDef, Map<?, ?>) - Constructor for class org.apache.kafka.common.config.AbstractConfig
-
Construct a configuration with a ConfigDef and the configuration properties, which can include properties for zero or more
ConfigProvider
that will be used to resolve variables in configuration property values. - AbstractConfig(ConfigDef, Map<?, ?>, boolean) - Constructor for class org.apache.kafka.common.config.AbstractConfig
-
Construct a configuration with a ConfigDef and the configuration properties, which can include properties for zero or more
ConfigProvider
that will be used to resolve variables in configuration property values. - AbstractConfig(ConfigDef, Map<?, ?>, Map<String, ?>, boolean) - Constructor for class org.apache.kafka.common.config.AbstractConfig
-
Construct a configuration with a ConfigDef and the configuration properties, which can include properties for zero or more
ConfigProvider
that will be used to resolve variables in configuration property values. - AbstractOptions<T> - Class in org.apache.kafka.clients.admin
- AbstractOptions() - Constructor for class org.apache.kafka.clients.admin.AbstractOptions
- accept(A, B) - Method in interface org.apache.kafka.common.KafkaFuture.BiConsumer
- ACCEPT - Enum constant in enum class org.apache.kafka.clients.consumer.AcknowledgeType
-
The record was consumed successfully.
- acceptable(double) - Method in class org.apache.kafka.common.metrics.Quota
- AccessControlEntry - Class in org.apache.kafka.common.acl
-
Represents an access control entry.
- AccessControlEntry(String, String, AclOperation, AclPermissionType) - Constructor for class org.apache.kafka.common.acl.AccessControlEntry
-
Create an instance of an access control entry with the provided parameters.
- AccessControlEntryFilter - Class in org.apache.kafka.common.acl
-
Represents a filter which matches access control entries.
- AccessControlEntryFilter(String, String, AclOperation, AclPermissionType) - Constructor for class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Create an instance of an access control entry filter with the provided parameters.
- acknowledge(ConsumerRecord<K, V>) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Acknowledge successful delivery of a record returned on the last
KafkaShareConsumer.poll(Duration)
call. - acknowledge(ConsumerRecord<K, V>) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- acknowledge(ConsumerRecord<K, V>) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- acknowledge(ConsumerRecord<K, V>, AcknowledgeType) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Acknowledge delivery of a record returned on the last
KafkaShareConsumer.poll(Duration)
call indicating whether it was processed successfully. - acknowledge(ConsumerRecord<K, V>, AcknowledgeType) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- acknowledge(ConsumerRecord<K, V>, AcknowledgeType) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- AcknowledgementCommitCallback - Interface in org.apache.kafka.clients.consumer
-
A callback interface that the user can implement to trigger custom actions when an acknowledgement completes.
- AcknowledgeType - Enum Class in org.apache.kafka.clients.consumer
- Acknowledging a batch of records (implicit acknowledgement) - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- ACKS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
acks
- aclBinding() - Method in class org.apache.kafka.server.authorizer.AclDeleteResult.AclBindingDeleteResult
-
Returns ACL binding that matched the delete filter.
- AclBinding - Class in org.apache.kafka.common.acl
-
Represents a binding between a resource pattern and an access control entry.
- AclBinding(ResourcePattern, AccessControlEntry) - Constructor for class org.apache.kafka.common.acl.AclBinding
-
Create an instance of this class with the provided parameters.
- AclBindingDeleteResult(AclBinding) - Constructor for class org.apache.kafka.server.authorizer.AclDeleteResult.AclBindingDeleteResult
- AclBindingDeleteResult(AclBinding, ApiException) - Constructor for class org.apache.kafka.server.authorizer.AclDeleteResult.AclBindingDeleteResult
- aclBindingDeleteResults() - Method in class org.apache.kafka.server.authorizer.AclDeleteResult
-
Returns delete result for each matching ACL binding.
- AclBindingFilter - Class in org.apache.kafka.common.acl
-
A filter which can match AclBinding objects.
- AclBindingFilter(ResourcePatternFilter, AccessControlEntryFilter) - Constructor for class org.apache.kafka.common.acl.AclBindingFilter
-
Create an instance of this filter with the provided parameters.
- aclCount() - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Get the current number of ACLs, for the purpose of metrics.
- AclCreateResult - Class in org.apache.kafka.server.authorizer
- AclCreateResult(ApiException) - Constructor for class org.apache.kafka.server.authorizer.AclCreateResult
- AclDeleteResult - Class in org.apache.kafka.server.authorizer
- AclDeleteResult(Collection<AclDeleteResult.AclBindingDeleteResult>) - Constructor for class org.apache.kafka.server.authorizer.AclDeleteResult
- AclDeleteResult(ApiException) - Constructor for class org.apache.kafka.server.authorizer.AclDeleteResult
- AclDeleteResult.AclBindingDeleteResult - Class in org.apache.kafka.server.authorizer
-
Delete result for each ACL binding that matched a delete filter.
- AclOperation - Enum Class in org.apache.kafka.common.acl
-
Represents an operation which an ACL grants or denies permission to perform.
- AclPermissionType - Enum Class in org.apache.kafka.common.acl
-
Represents whether an ACL grants or denies permissions.
- acls(AclBindingFilter) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Returns ACL bindings which match the provided filter.
- Action - Class in org.apache.kafka.server.authorizer
- Action(AclOperation, ResourcePattern, int, boolean, boolean) - Constructor for class org.apache.kafka.server.authorizer.Action
- activeProducers() - Method in class org.apache.kafka.clients.admin.DescribeProducersResult.PartitionProducerState
- add(String, byte[]) - Method in interface org.apache.kafka.common.header.Headers
-
Creates and adds a header, to the end, returning if the operation succeeded.
- add(Header) - Method in interface org.apache.kafka.common.header.Headers
-
Adds a header (key inside), to the end, returning if the operation succeeded.
- add(MetricName, MeasurableStat) - Method in class org.apache.kafka.common.metrics.Sensor
-
Register a metric with this sensor
- add(MetricName, MeasurableStat, MetricConfig) - Method in class org.apache.kafka.common.metrics.Sensor
-
Register a metric with this sensor
- add(CompoundStat) - Method in class org.apache.kafka.common.metrics.Sensor
-
Register a compound statistic with this sensor with no config override
- add(CompoundStat, MetricConfig) - Method in class org.apache.kafka.common.metrics.Sensor
-
Register a compound statistic with this sensor which yields multiple measurable quantities (like a histogram)
- addClientSaslSupport(ConfigDef) - Static method in class org.apache.kafka.common.config.SaslConfigs
- addClientSslSupport(ConfigDef) - Static method in class org.apache.kafka.common.config.SslConfigs
- addedMetrics() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- addedMetrics() - Method in class org.apache.kafka.clients.producer.MockProducer
- addErrorMessage(String) - Method in class org.apache.kafka.common.config.ConfigValue
- addingReplicas() - Method in class org.apache.kafka.clients.admin.PartitionReassignment
-
The brokers that we are adding this partition to as part of a reassignment.
- addMetric(MetricName, Measurable) - Method in class org.apache.kafka.common.metrics.Metrics
-
Add a metric to monitor an object that implements measurable.
- addMetric(MetricName, MetricConfig, Measurable) - Method in class org.apache.kafka.common.metrics.Metrics
-
Add a metric to monitor an object that implements Measurable.
- addMetric(MetricName, MetricConfig, MetricValueProvider<?>) - Method in class org.apache.kafka.common.metrics.Metrics
-
Add a metric to monitor an object that implements MetricValueProvider.
- addMetric(MetricName, MetricValueProvider<?>) - Method in class org.apache.kafka.common.metrics.Metrics
-
Add a metric to monitor an object that implements MetricValueProvider.
- addMetricIfAbsent(MetricName, MetricConfig, MetricValueProvider<?>) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create or get an existing metric to monitor an object that implements MetricValueProvider.
- addRaftVoter(int, Uuid, Set<RaftVoterEndpoint>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Add a new voter node to the KRaft metadata quorum.
- addRaftVoter(int, Uuid, Set<RaftVoterEndpoint>, AddRaftVoterOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Add a new voter node to the KRaft metadata quorum.
- addRaftVoter(int, Uuid, Set<RaftVoterEndpoint>, AddRaftVoterOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- addRaftVoter(int, Uuid, Set<RaftVoterEndpoint>, AddRaftVoterOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AddRaftVoterOptions - Class in org.apache.kafka.clients.admin
- AddRaftVoterOptions() - Constructor for class org.apache.kafka.clients.admin.AddRaftVoterOptions
- AddRaftVoterResult - Class in org.apache.kafka.clients.admin
- addRecord(ConsumerRecord<K, V>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- addRecord(ConsumerRecord<K, V>) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- addReporter(MetricsReporter) - Method in class org.apache.kafka.common.metrics.Metrics
-
Add a MetricReporter
- Admin - Interface in org.apache.kafka.clients.admin
-
The administrative client for Kafka, which supports managing and inspecting topics, brokers, configurations and ACLs.
- AdminClient - Class in org.apache.kafka.clients.admin
-
The base class for in-built admin clients.
- AdminClient() - Constructor for class org.apache.kafka.clients.admin.AdminClient
- AdminClientConfig - Class in org.apache.kafka.clients.admin
-
The AdminClient configuration class, which also contains constants for configuration entry names.
- AdminClientConfig(Map<?, ?>) - Constructor for class org.apache.kafka.clients.admin.AdminClientConfig
- all() - Method in class org.apache.kafka.clients.admin.AbortTransactionResult
-
Get a future which completes when the transaction specified by
AbortTransactionSpec
in the respective call toAdmin.abortTransaction(AbortTransactionSpec, AbortTransactionOptions)
returns successfully or fails due to an error or timeout. - all() - Method in class org.apache.kafka.clients.admin.AddRaftVoterResult
-
Returns a future that completes when the voter has been added.
- all() - Method in class org.apache.kafka.clients.admin.AlterClientQuotasResult
-
Returns a future which succeeds only if all quota alterations succeed.
- all() - Method in class org.apache.kafka.clients.admin.AlterConfigsResult
-
Return a future which succeeds only if all the alter configs operations succeed.
- all() - Method in class org.apache.kafka.clients.admin.AlterConsumerGroupOffsetsResult
-
Return a future which succeeds if all the alter offsets succeed.
- all() - Method in class org.apache.kafka.clients.admin.AlterPartitionReassignmentsResult
-
Return a future which succeeds only if all the reassignments were successfully initiated.
- all() - Method in class org.apache.kafka.clients.admin.AlterReplicaLogDirsResult
-
Return a
KafkaFuture
which succeeds onKafkaFuture.get()
if all the replica movement have succeeded. - all() - Method in class org.apache.kafka.clients.admin.AlterUserScramCredentialsResult
-
Return a future which succeeds only if all the user SCRAM credential alterations succeed.
- all() - Method in class org.apache.kafka.clients.admin.CreateAclsResult
-
Return a future which succeeds only if all the ACL creations succeed.
- all() - Method in class org.apache.kafka.clients.admin.CreatePartitionsResult
-
Return a future which succeeds if all the partition creations succeed.
- all() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Return a future which succeeds if all the topic creations succeed.
- all() - Method in class org.apache.kafka.clients.admin.DeleteAclsResult
-
Return a future which succeeds only if all the ACLs deletions succeed, and which contains all the deleted ACLs.
- all() - Method in class org.apache.kafka.clients.admin.DeleteConsumerGroupOffsetsResult
-
Return a future which succeeds only if all the deletions succeed.
- all() - Method in class org.apache.kafka.clients.admin.DeleteConsumerGroupsResult
-
Return a future which succeeds only if all the consumer group deletions succeed.
- all() - Method in class org.apache.kafka.clients.admin.DeleteRecordsResult
-
Return a future which succeeds only if all the records deletions succeed.
- all() - Method in class org.apache.kafka.clients.admin.DeleteTopicsResult
- all() - Method in class org.apache.kafka.clients.admin.DescribeClassicGroupsResult
-
Return a future which yields all ClassicGroupDescription objects, if all the describes succeed.
- all() - Method in class org.apache.kafka.clients.admin.DescribeConfigsResult
-
Return a future which succeeds only if all the config descriptions succeed.
- all() - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
-
Return a future which yields all ConsumerGroupDescription objects, if all the describes succeed.
- all() - Method in class org.apache.kafka.clients.admin.DescribeProducersResult
- all() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult
-
Return a future which succeeds if log directory information of all replicas are available
- all() - Method in class org.apache.kafka.clients.admin.DescribeShareGroupsResult
-
Return a future which yields all ShareGroupDescription objects, if all the describes succeed.
- all() - Method in class org.apache.kafka.clients.admin.DescribeTransactionsResult
-
Get a future which returns a map of the transaction descriptions requested in the respective call to
Admin.describeTransactions(Collection, DescribeTransactionsOptions)
. - all() - Method in class org.apache.kafka.clients.admin.DescribeUserScramCredentialsResult
- all() - Method in class org.apache.kafka.clients.admin.ElectLeadersResult
-
Return a future which succeeds if all the topic elections succeed.
- all() - Method in class org.apache.kafka.clients.admin.FenceProducersResult
-
Return a future which succeeds only if all the producer fencings succeed.
- all() - Method in class org.apache.kafka.clients.admin.ListClientMetricsResourcesResult
-
Returns a future that yields either an exception, or the full set of client metrics listings.
- all() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsResult
-
Return a future which yields all
Map<String, Map<TopicPartition, OffsetAndMetadata>
objects, if requests for all the groups succeed. - all() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsResult
-
Returns a future that yields either an exception, or the full set of consumer group listings.
- all() - Method in class org.apache.kafka.clients.admin.ListGroupsResult
-
Returns a future that yields either an exception, or the full set of group listings.
- all() - Method in class org.apache.kafka.clients.admin.ListOffsetsResult
-
Return a future which succeeds only if offsets for all specified partitions have been successfully retrieved.
- all() - Method in class org.apache.kafka.clients.admin.ListTransactionsResult
-
Get all transaction listings.
- all() - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupResult
-
Returns a future which indicates whether the request was 100% success, i.e.
- all() - Method in class org.apache.kafka.clients.admin.RemoveRaftVoterResult
-
Returns a future that completes when the voter has been removed.
- all() - Method in class org.apache.kafka.clients.admin.UnregisterBrokerResult
-
Return a future which succeeds if the operation is successful.
- all() - Method in class org.apache.kafka.clients.admin.UpdateFeaturesResult
-
Return a future which succeeds if all the feature updates succeed.
- all() - Static method in class org.apache.kafka.common.quota.ClientQuotaFilter
-
Constructs and returns a quota filter that matches all configured entities.
- ALL - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
ALL operation.
- allByBrokerId() - Method in class org.apache.kafka.clients.admin.ListTransactionsResult
-
Get all transaction listings in a map which is keyed by the ID of respective broker that is currently managing them.
- allDescriptions() - Method in class org.apache.kafka.clients.admin.DescribeLogDirsResult
-
Return a future which succeeds only if all the brokers have responded without error.
- allOf(KafkaFuture<?>...) - Static method in class org.apache.kafka.common.KafkaFuture
-
Returns a new KafkaFuture that is completed when all the given futures have completed.
- ALLOW - Enum constant in enum class org.apache.kafka.common.acl.AclPermissionType
-
Grants access.
- ALLOW_AUTO_CREATE_TOPICS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
allow.auto.create.topics
- ALLOWED - Enum constant in enum class org.apache.kafka.server.authorizer.AuthorizationResult
- ALLOWED_PATHS_CONFIG - Static variable in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
- ALLOWED_PATHS_CONFIG - Static variable in class org.apache.kafka.common.config.provider.FileConfigProvider
- ALLOWED_PATHS_DOC - Static variable in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
- ALLOWED_PATHS_DOC - Static variable in class org.apache.kafka.common.config.provider.FileConfigProvider
- ALLOWLIST_PATTERN_CONFIG - Static variable in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- ALLOWLIST_PATTERN_CONFIG_DOC - Static variable in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- allTopicIds() - Method in class org.apache.kafka.clients.admin.DescribeTopicsResult
- allTopicNames() - Method in class org.apache.kafka.clients.admin.DescribeTopicsResult
- ALTER - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
ALTER operation.
- ALTER_CONFIGS - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
ALTER_CONFIGS operation.
- alterClientQuotas(Collection<ClientQuotaAlteration>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alters client quota configurations with the specified alterations.
- alterClientQuotas(Collection<ClientQuotaAlteration>, AlterClientQuotasOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alters client quota configurations with the specified alterations.
- alterClientQuotas(Collection<ClientQuotaAlteration>, AlterClientQuotasOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- alterClientQuotas(Collection<ClientQuotaAlteration>, AlterClientQuotasOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AlterClientQuotasOptions - Class in org.apache.kafka.clients.admin
- AlterClientQuotasOptions() - Constructor for class org.apache.kafka.clients.admin.AlterClientQuotasOptions
- AlterClientQuotasResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.alterClientQuotas(Collection, AlterClientQuotasOptions)
call. - AlterClientQuotasResult(Map<ClientQuotaEntity, KafkaFuture<Void>>) - Constructor for class org.apache.kafka.clients.admin.AlterClientQuotasResult
-
Maps an entity to its alteration result.
- AlterConfigOp - Class in org.apache.kafka.clients.admin
-
A class representing an alter configuration entry containing name, value and operation type.
- AlterConfigOp(ConfigEntry, AlterConfigOp.OpType) - Constructor for class org.apache.kafka.clients.admin.AlterConfigOp
- AlterConfigOp.OpType - Enum Class in org.apache.kafka.clients.admin
- AlterConfigPolicy - Interface in org.apache.kafka.server.policy
-
An interface for enforcing a policy on alter configs requests.
- AlterConfigPolicy.RequestMetadata - Class in org.apache.kafka.server.policy
-
Class containing the create request parameters.
- AlterConfigsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.incrementalAlterConfigs(Map)
. - AlterConfigsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterConfigsOptions
- AlterConfigsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.incrementalAlterConfigs(Map, AlterConfigsOptions)
call. - alterConsumerGroupOffsets(String, Map<TopicPartition, OffsetAndMetadata>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alters offsets for the specified group.
- alterConsumerGroupOffsets(String, Map<TopicPartition, OffsetAndMetadata>, AlterConsumerGroupOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alters offsets for the specified group.
- alterConsumerGroupOffsets(String, Map<TopicPartition, OffsetAndMetadata>, AlterConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- alterConsumerGroupOffsets(String, Map<TopicPartition, OffsetAndMetadata>, AlterConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AlterConsumerGroupOffsetsOptions - Class in org.apache.kafka.clients.admin
-
Options for the
Admin.alterConsumerGroupOffsets(String, Map, AlterConsumerGroupOffsetsOptions)
call. - AlterConsumerGroupOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterConsumerGroupOffsetsOptions
- AlterConsumerGroupOffsetsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.alterConsumerGroupOffsets(String, Map)
call. - alternativeString - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- alterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Change the reassignments for one or more partitions.
- alterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>, AlterPartitionReassignmentsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Change the reassignments for one or more partitions.
- alterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>, AlterPartitionReassignmentsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- alterPartitionReassignments(Map<TopicPartition, Optional<NewPartitionReassignment>>, AlterPartitionReassignmentsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AlterPartitionReassignmentsOptions - Class in org.apache.kafka.clients.admin
- AlterPartitionReassignmentsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterPartitionReassignmentsOptions
- AlterPartitionReassignmentsResult - Class in org.apache.kafka.clients.admin
- alterReplicaLogDirs(Map<TopicPartitionReplica, String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Change the log directory for the specified replicas.
- alterReplicaLogDirs(Map<TopicPartitionReplica, String>, AlterReplicaLogDirsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Change the log directory for the specified replicas.
- alterReplicaLogDirs(Map<TopicPartitionReplica, String>, AlterReplicaLogDirsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- alterReplicaLogDirs(Map<TopicPartitionReplica, String>, AlterReplicaLogDirsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AlterReplicaLogDirsOptions - Class in org.apache.kafka.clients.admin
- AlterReplicaLogDirsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterReplicaLogDirsOptions
- AlterReplicaLogDirsResult - Class in org.apache.kafka.clients.admin
-
The result of
Admin.alterReplicaLogDirs(Map, AlterReplicaLogDirsOptions)
. - alterUserScramCredentials(List<UserScramCredentialAlteration>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alter SASL/SCRAM credentials for the given users.
- alterUserScramCredentials(List<UserScramCredentialAlteration>, AlterUserScramCredentialsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Alter SASL/SCRAM credentials.
- alterUserScramCredentials(List<UserScramCredentialAlteration>, AlterUserScramCredentialsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- alterUserScramCredentials(List<UserScramCredentialAlteration>, AlterUserScramCredentialsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- AlterUserScramCredentialsOptions - Class in org.apache.kafka.clients.admin
- AlterUserScramCredentialsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterUserScramCredentialsOptions
- AlterUserScramCredentialsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.alterUserScramCredentials(List)
call. - AlterUserScramCredentialsResult(Map<String, KafkaFuture<Void>>) - Constructor for class org.apache.kafka.clients.admin.AlterUserScramCredentialsResult
- ANONYMOUS - Static variable in class org.apache.kafka.common.security.auth.KafkaPrincipal
- ANY - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
In a filter, matches any AclOperation.
- ANY - Enum constant in enum class org.apache.kafka.common.acl.AclPermissionType
-
In a filter, matches any AclPermissionType.
- ANY - Enum constant in enum class org.apache.kafka.common.resource.PatternType
-
In a filter, matches any resource pattern type.
- ANY - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
In a filter, matches any ResourceType.
- ANY - Static variable in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Matches any access control entry.
- ANY - Static variable in class org.apache.kafka.common.acl.AclBindingFilter
-
A filter which matches any ACL binding.
- ANY - Static variable in class org.apache.kafka.common.resource.ResourcePatternFilter
-
Matches any resource pattern.
- ApiException - Exception Class in org.apache.kafka.common.errors
-
Any API exception that is part of the public protocol and should be a subclass of this class and be part of this package.
- ApiException() - Constructor for exception class org.apache.kafka.common.errors.ApiException
- ApiException(String) - Constructor for exception class org.apache.kafka.common.errors.ApiException
- ApiException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ApiException
- ApiException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.ApiException
- APPEND - Enum constant in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
(For list-type configuration entries only.) Add the specified values to the current value of the configuration entry.
- appendDeserializerToConfig(Map<String, Object>, Deserializer<?>, Deserializer<?>) - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
- apply(A) - Method in interface org.apache.kafka.common.KafkaFuture.BaseFunction
- assign(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- assign(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Manually assign a list of partitions to this consumer.
- assign(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- assign(Map<String, Integer>, Map<String, ConsumerPartitionAssignor.Subscription>) - Method in class org.apache.kafka.clients.consumer.RangeAssignor
- assign(Map<String, Integer>, Map<String, ConsumerPartitionAssignor.Subscription>) - Method in class org.apache.kafka.clients.consumer.RoundRobinAssignor
- assign(Cluster, ConsumerPartitionAssignor.GroupSubscription) - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Perform the group assignment given the member subscriptions and current cluster metadata.
- ASSIGN_FROM_SUBSCRIBED_ASSIGNORS - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- ASSIGNING - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- ASSIGNING - Enum constant in enum class org.apache.kafka.common.GroupState
- assignment() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The assignment of the group member.
- assignment() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
-
The assignment of the group member.
- assignment() - Method in interface org.apache.kafka.clients.consumer.Consumer
- assignment() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the set of partitions currently assigned to this consumer.
- assignment() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- Assignment(List<TopicPartition>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
- Assignment(List<TopicPartition>, ByteBuffer) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
- assignments() - Method in class org.apache.kafka.clients.admin.NewPartitions
-
The replica assignments for the new partitions, or null if the assignment will be done by the controller.
- assignPartitions(Map<String, List<PartitionInfo>>, Map<String, ConsumerPartitionAssignor.Subscription>) - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- assignPartitions(Map<String, List<PartitionInfo>>, Map<String, ConsumerPartitionAssignor.Subscription>) - Method in class org.apache.kafka.clients.consumer.RangeAssignor
-
Performs range assignment of the specified partitions for the consumers with the provided subscriptions.
- atLeast(Number) - Static method in class org.apache.kafka.common.config.ConfigDef.Range
-
A numeric range that checks only the lower bound
- atMostOfSize(int) - Static method in class org.apache.kafka.common.config.ConfigDef.ListSize
- AuthenticateCallbackHandler - Interface in org.apache.kafka.common.security.auth
- authenticated() - Method in class org.apache.kafka.common.security.plain.PlainAuthenticateCallback
-
Returns true if client password matches expected password, false otherwise.
- authenticated(boolean) - Method in class org.apache.kafka.common.security.plain.PlainAuthenticateCallback
-
Sets the authenticated state.
- AuthenticationContext - Interface in org.apache.kafka.common.security.auth
-
An object representing contextual information from the authentication session.
- AuthenticationException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that SASL authentication has failed.
- AuthenticationException(String) - Constructor for exception class org.apache.kafka.common.errors.AuthenticationException
- AuthenticationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.AuthenticationException
- AuthenticationException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.AuthenticationException
- AuthorizableRequestContext - Interface in org.apache.kafka.server.authorizer
-
Request context interface that provides data from request header as well as connection and authentication information to plugins.
- AuthorizationException - Exception Class in org.apache.kafka.common.errors
- AuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.AuthorizationException
- AuthorizationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.AuthorizationException
- AuthorizationResult - Enum Class in org.apache.kafka.server.authorizer
- authorize(AuthorizableRequestContext, List<Action>) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Authorizes the specified action.
- authorizeByResourceType(AuthorizableRequestContext, AclOperation, ResourceType) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Check if the caller is authorized to perform the given ACL operation on at least one resource of the given type.
- authorizedOperations() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
authorizedOperations for this group, or null if that information is not known.
- authorizedOperations() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
authorizedOperations for this group, or null if that information is not known.
- authorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeClusterResult
-
Returns a future which yields authorized operations.
- authorizedOperations() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
-
authorizedOperations for this group, or null if that information is not known.
- authorizedOperations() - Method in class org.apache.kafka.clients.admin.TopicDescription
-
authorized operations for this topic, or null if this is not known.
- Authorizer - Interface in org.apache.kafka.server.authorizer
-
Pluggable authorizer interface for Kafka brokers.
- AuthorizerNotReadyException - Exception Class in org.apache.kafka.common.errors
-
An exception that indicates that the authorizer is not ready to receive the request yet.
- AuthorizerNotReadyException() - Constructor for exception class org.apache.kafka.common.errors.AuthorizerNotReadyException
- AuthorizerServerInfo - Interface in org.apache.kafka.server.authorizer
-
Runtime broker configuration metadata provided to authorizers during start up.
- AUTO_COMMIT_INTERVAL_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
auto.commit.interval.ms
- AUTO_OFFSET_RESET_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
auto.offset.reset
- AUTO_OFFSET_RESET_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- AUTOMATIC_CONFIG_PROVIDERS_PROPERTY - Static variable in class org.apache.kafka.common.config.AbstractConfig
- Automatic Offset Committing - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- availablePartitionsForTopic(String) - Method in class org.apache.kafka.common.Cluster
-
Get the list of available partitions for this topic
- Avg - Class in org.apache.kafka.common.metrics.stats
-
A
SampledStat
that maintains a simple average over its samples. - Avg() - Constructor for class org.apache.kafka.common.metrics.stats.Avg
B
- BATCH_SIZE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
batch.size
- beforeOffset() - Method in class org.apache.kafka.clients.admin.RecordsToDelete
-
The offset before which all records will be deleted
- beforeOffset(long) - Static method in class org.apache.kafka.clients.admin.RecordsToDelete
-
Delete all the records before the given
offset
- beginningOffsets(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- beginningOffsets(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the first offset for the given partitions.
- beginningOffsets(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- beginningOffsets(Collection<TopicPartition>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- beginningOffsets(Collection<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the first offset for the given partitions.
- beginningOffsets(Collection<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- beginTransaction() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Should be called before the start of each new transaction.
- beginTransaction() - Method in class org.apache.kafka.clients.producer.MockProducer
- beginTransaction() - Method in interface org.apache.kafka.clients.producer.Producer
- beginTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
- between(Number, Number) - Static method in class org.apache.kafka.common.config.ConfigDef.Range
-
A numeric range that checks both the upper (inclusive) and lower bound
- binding() - Method in class org.apache.kafka.clients.admin.DeleteAclsResult.FilterResult
-
Return the deleted ACL binding or null if there was an error.
- bins() - Method in interface org.apache.kafka.common.metrics.stats.Histogram.BinScheme
-
Get the number of bins.
- bins() - Method in class org.apache.kafka.common.metrics.stats.Histogram.ConstantBinScheme
- bins() - Method in class org.apache.kafka.common.metrics.stats.Histogram.LinearBinScheme
- Boolean() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Boolean
type. - BOOLEAN - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- BOOLEAN - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for boolean values.
- BooleanDeserializer - Class in org.apache.kafka.common.serialization
- BooleanDeserializer() - Constructor for class org.apache.kafka.common.serialization.BooleanDeserializer
- BooleanSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.BooleanSerde
- BooleanSerializer - Class in org.apache.kafka.common.serialization
- BooleanSerializer() - Constructor for class org.apache.kafka.common.serialization.BooleanSerializer
- bootstrap(List<InetSocketAddress>) - Static method in class org.apache.kafka.common.Cluster
-
Create a "bootstrap" cluster using the given list of host/ports
- BOOTSTRAP_CONTROLLERS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
bootstrap.controllers
- BOOTSTRAP_CONTROLLERS_DOC - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- BOOTSTRAP_SERVERS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
bootstrap.servers
- BOOTSTRAP_SERVERS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
bootstrap.servers
- BOOTSTRAP_SERVERS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
bootstrap.servers
- Bootstrap and balancing - Search tag in interface org.apache.kafka.clients.admin.Admin
- Section
- bound() - Method in class org.apache.kafka.common.metrics.Quota
- bound() - Method in exception class org.apache.kafka.common.metrics.QuotaViolationException
- Broker - Search tag in interface org.apache.kafka.common.ClusterResourceListener
- Section
- BROKER - Enum constant in enum class org.apache.kafka.clients.admin.EndpointType
- BROKER - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- BROKER_LOGGER - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- Broker Compatibility - Search tag in interface org.apache.kafka.clients.admin.Admin
- Section
- brokerId() - Method in class org.apache.kafka.clients.admin.DescribeProducersOptions
- brokerId() - Method in class org.apache.kafka.common.TopicPartitionReplica
- brokerId() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
-
Returns broker id.
- brokerId(int) - Method in class org.apache.kafka.clients.admin.DescribeProducersOptions
- BrokerIdNotRegisteredException - Exception Class in org.apache.kafka.common.errors
- BrokerIdNotRegisteredException(String) - Constructor for exception class org.apache.kafka.common.errors.BrokerIdNotRegisteredException
- BrokerIdNotRegisteredException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.BrokerIdNotRegisteredException
- BrokerNotAvailableException - Exception Class in org.apache.kafka.common.errors
- BrokerNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.BrokerNotAvailableException
- BrokerNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.BrokerNotAvailableException
- BUFFER_MEMORY_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
buffer.memory
- BufferExhaustedException - Exception Class in org.apache.kafka.clients.producer
-
This exception is thrown if the producer cannot allocate memory for a record within max.block.ms due to the buffer being too full.
- BufferExhaustedException(String) - Constructor for exception class org.apache.kafka.clients.producer.BufferExhaustedException
- build(AuthenticationContext) - Method in interface org.apache.kafka.common.security.auth.KafkaPrincipalBuilder
-
Build a kafka principal from the authentication context.
- byBrokerId() - Method in class org.apache.kafka.clients.admin.ListTransactionsResult
-
Get a future which returns a map containing the underlying listing future for each broker in the cluster.
- ByteArray() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
byte[]
type. - ByteArrayDeserializer - Class in org.apache.kafka.common.serialization
- ByteArrayDeserializer() - Constructor for class org.apache.kafka.common.serialization.ByteArrayDeserializer
- ByteArraySerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.ByteArraySerde
- ByteArraySerializer - Class in org.apache.kafka.common.serialization
- ByteArraySerializer() - Constructor for class org.apache.kafka.common.serialization.ByteArraySerializer
- ByteBuffer() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
ByteBuffer
type. - ByteBufferDeserializer - Class in org.apache.kafka.common.serialization
- ByteBufferDeserializer() - Constructor for class org.apache.kafka.common.serialization.ByteBufferDeserializer
- ByteBufferSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.ByteBufferSerde
- ByteBufferSerializer - Class in org.apache.kafka.common.serialization
-
ByteBufferSerializer
alwaysrewinds
the position of the input buffer to zero for serialization. - ByteBufferSerializer() - Constructor for class org.apache.kafka.common.serialization.ByteBufferSerializer
- Bytes() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Bytes
type. - BytesDeserializer - Class in org.apache.kafka.common.serialization
- BytesDeserializer() - Constructor for class org.apache.kafka.common.serialization.BytesDeserializer
- BytesSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.BytesSerde
- BytesSerializer - Class in org.apache.kafka.common.serialization
- BytesSerializer() - Constructor for class org.apache.kafka.common.serialization.BytesSerializer
C
- Callback - Interface in org.apache.kafka.clients.producer
-
A callback interface that the user can implement to allow code to execute when the request is complete.
- cancel(boolean) - Method in class org.apache.kafka.common.KafkaFuture
-
If not already completed, completes this future with a CancellationException.
- centerValue() - Method in class org.apache.kafka.common.metrics.stats.Frequency
-
Get the value of this metrics center point.
- CHECK_CRCS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
check.crcs
- checkQuotas() - Method in class org.apache.kafka.common.metrics.Sensor
-
Check if we have violated our quota for any metric that has a configured quota
- checkQuotas(long) - Method in class org.apache.kafka.common.metrics.Sensor
- CLASS - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- CLASS - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for values that implement a Kafka interface.
- CLASSIC - Enum constant in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
Classic group protocol.
- CLASSIC - Enum constant in enum class org.apache.kafka.common.GroupType
- ClassicGroupDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single classic group in the cluster.
- ClassicGroupDescription(String, String, String, Collection<MemberDescription>, ClassicGroupState, Node) - Constructor for class org.apache.kafka.clients.admin.ClassicGroupDescription
- ClassicGroupDescription(String, String, String, Collection<MemberDescription>, ClassicGroupState, Node, Set<AclOperation>) - Constructor for class org.apache.kafka.clients.admin.ClassicGroupDescription
- ClassicGroupState - Enum Class in org.apache.kafka.common
-
The classic group state.
- CLEANUP_POLICY_COMPACT - Static variable in class org.apache.kafka.common.config.TopicConfig
- CLEANUP_POLICY_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- CLEANUP_POLICY_DELETE - Static variable in class org.apache.kafka.common.config.TopicConfig
- CLEANUP_POLICY_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- clear() - Method in class org.apache.kafka.clients.producer.MockProducer
-
Clear the stored history of sent records, consumer group offsets
- clear() - Method in class org.apache.kafka.common.metrics.stats.Histogram
- CLIENT_DNS_LOOKUP_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
client.dns.lookup
- CLIENT_DNS_LOOKUP_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
client.dns.lookup
- CLIENT_DNS_LOOKUP_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
client.dns.lookup
- CLIENT_ID - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
- CLIENT_ID - Static variable in class org.apache.kafka.common.quota.ClientQuotaEntity
- CLIENT_ID_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- CLIENT_ID_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
client.id
- CLIENT_ID_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
client.id
- CLIENT_ID_CONFIG - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- CLIENT_ID_DOC - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- CLIENT_METRICS - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- CLIENT_RACK_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
client.rack
- CLIENT_SECRET_CONFIG - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- CLIENT_SECRET_DOC - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- clientAddress() - Method in interface org.apache.kafka.common.security.auth.AuthenticationContext
-
Address of the authenticated client
- clientAddress() - Method in class org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
- clientAddress() - Method in class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- clientAddress() - Method in class org.apache.kafka.common.security.auth.SslAuthenticationContext
- clientAddress() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns client IP address from which request was sent.
- clientId() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The client id of the group member.
- clientId() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
-
The client id of the group member.
- clientId() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns the client id from the request header.
- clientInstanceId() - Method in interface org.apache.kafka.server.telemetry.ClientTelemetryPayload
-
Method returns the client's instance id.
- clientInstanceId(Duration) - Method in interface org.apache.kafka.clients.admin.Admin
-
Determines the client's unique client instance ID used for telemetry.
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- clientInstanceId(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Determines the client's unique client instance ID used for telemetry.
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Determines the client's unique client instance ID used for telemetry.
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- clientInstanceId(Duration) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Determines the client's unique client instance ID used for telemetry.
- clientInstanceId(Duration) - Method in class org.apache.kafka.clients.producer.MockProducer
- clientInstanceId(Duration) - Method in interface org.apache.kafka.clients.producer.Producer
- ClientMetricsResourceListing - Class in org.apache.kafka.clients.admin
- ClientMetricsResourceListing(String) - Constructor for class org.apache.kafka.clients.admin.ClientMetricsResourceListing
- ClientQuotaAlteration - Class in org.apache.kafka.common.quota
-
Describes a configuration alteration to be made to a client quota entity.
- ClientQuotaAlteration(ClientQuotaEntity, Collection<ClientQuotaAlteration.Op>) - Constructor for class org.apache.kafka.common.quota.ClientQuotaAlteration
- ClientQuotaAlteration.Op - Class in org.apache.kafka.common.quota
- ClientQuotaCallback - Interface in org.apache.kafka.server.quota
-
Quota callback interface for brokers and controllers that enables customization of client quota computation.
- ClientQuotaEntity - Class in org.apache.kafka.common.quota
-
Describes a client quota entity, which is a mapping of entity types to their names.
- ClientQuotaEntity - Interface in org.apache.kafka.server.quota
-
The metadata for an entity for which quota is configured.
- ClientQuotaEntity(Map<String, String>) - Constructor for class org.apache.kafka.common.quota.ClientQuotaEntity
-
Constructs a quota entity for the given types and names.
- ClientQuotaEntity.ConfigEntity - Interface in org.apache.kafka.server.quota
-
Interface representing a quota configuration entity.
- ClientQuotaEntity.ConfigEntityType - Enum Class in org.apache.kafka.server.quota
-
Entity type of a
ClientQuotaEntity.ConfigEntity
- ClientQuotaFilter - Class in org.apache.kafka.common.quota
-
Describes a client quota entity filter.
- ClientQuotaFilterComponent - Class in org.apache.kafka.common.quota
-
Describes a component for applying a client quota filter.
- ClientQuotaType - Enum Class in org.apache.kafka.server.quota
-
Types of quotas that may be configured on brokers for client requests.
- clientReceiver() - Method in interface org.apache.kafka.server.telemetry.ClientTelemetry
-
Called by the broker to fetch instance of
ClientTelemetryReceiver
. - Clients - Search tag in interface org.apache.kafka.common.ClusterResourceListener
- Section
- ClientTelemetry - Interface in org.apache.kafka.server.telemetry
-
A
MetricsReporter
may implement this interface to indicate support for collecting client telemetry on the server side. - ClientTelemetryPayload - Interface in org.apache.kafka.server.telemetry
-
A client telemetry payload as sent by the client to the telemetry receiver.
- ClientTelemetryReceiver - Interface in org.apache.kafka.server.telemetry
-
ClientTelemetryReceiver
defines the behaviour for telemetry receiver on the broker side which receives client telemetry metrics. - close() - Method in interface org.apache.kafka.clients.admin.Admin
-
Close the Admin and release all associated resources.
- close() - Method in interface org.apache.kafka.clients.consumer.Consumer
- close() - Method in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
-
This is called when interceptor is closed
- close() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Close the consumer, waiting for up to the default timeout of 30 seconds for any needed cleanup.
- close() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Close the consumer, waiting for up to the default timeout of 30 seconds for any needed cleanup.
- close() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- close() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- close() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- close() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Close this producer.
- close() - Method in class org.apache.kafka.clients.producer.MockProducer
- close() - Method in interface org.apache.kafka.clients.producer.Partitioner
-
This is called when partitioner is closed.
- close() - Method in interface org.apache.kafka.clients.producer.Producer
- close() - Method in interface org.apache.kafka.clients.producer.ProducerInterceptor
-
This is called when interceptor is closed
- close() - Method in class org.apache.kafka.clients.producer.RoundRobinPartitioner
- close() - Method in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
- close() - Method in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- close() - Method in class org.apache.kafka.common.config.provider.FileConfigProvider
- close() - Method in interface org.apache.kafka.common.MessageFormatter
-
Closes the formatter
- close() - Method in class org.apache.kafka.common.metrics.JmxReporter
- close() - Method in class org.apache.kafka.common.metrics.Metrics
-
Close this metrics repository.
- close() - Method in interface org.apache.kafka.common.metrics.MetricsReporter
-
Called when the metrics repository is closed.
- close() - Method in interface org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
-
Closes this instance.
- close() - Method in interface org.apache.kafka.common.security.auth.Login
-
Closes this instance.
- close() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- close() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler
- close() - Method in interface org.apache.kafka.common.serialization.Deserializer
-
Close this deserializer.
- close() - Method in class org.apache.kafka.common.serialization.ListDeserializer
- close() - Method in class org.apache.kafka.common.serialization.ListSerializer
- close() - Method in interface org.apache.kafka.common.serialization.Serde
-
Close this serde class, which will close the underlying serializer and deserializer.
- close() - Method in class org.apache.kafka.common.serialization.Serdes.WrapperSerde
- close() - Method in interface org.apache.kafka.common.serialization.Serializer
-
Close this serializer.
- close() - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Closes this instance.
- close(Duration) - Method in interface org.apache.kafka.clients.admin.Admin
-
Close the Admin client and release all associated resources.
- close(Duration) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- close(Duration) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- close(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- close(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Tries to close the consumer cleanly within the specified timeout.
- close(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Tries to close the consumer cleanly within the specified timeout.
- close(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- close(Duration) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- close(Duration) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- close(Duration) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
This method waits up to
timeout
for the producer to complete the sending of all incomplete requests. - close(Duration) - Method in class org.apache.kafka.clients.producer.MockProducer
- close(Duration) - Method in interface org.apache.kafka.clients.producer.Producer
- closed() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- closed() - Method in class org.apache.kafka.clients.producer.MockProducer
- closeException - Variable in class org.apache.kafka.clients.producer.MockProducer
- Cluster - Class in org.apache.kafka.common
-
An immutable representation of a subset of the nodes, topics, and partitions in the Kafka cluster.
- Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>) - Constructor for class org.apache.kafka.common.Cluster
-
Create a new cluster with the given id, nodes and partitions
- Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Set<String>, Node) - Constructor for class org.apache.kafka.common.Cluster
-
Create a new cluster with the given id, nodes and partitions
- Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Set<String>, Node, Map<String, Uuid>) - Constructor for class org.apache.kafka.common.Cluster
-
Create a new cluster with the given id, nodes, partitions and topicIds
- Cluster(String, Collection<Node>, Collection<PartitionInfo>, Set<String>, Set<String>, Node) - Constructor for class org.apache.kafka.common.Cluster
-
Create a new cluster with the given id, nodes and partitions
- CLUSTER - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
The cluster as a whole.
- CLUSTER - Static variable in class org.apache.kafka.common.resource.Resource
-
A resource representing the whole cluster.
- CLUSTER_ACTION - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
CLUSTER_ACTION operation.
- CLUSTER_NAME - Static variable in class org.apache.kafka.common.resource.Resource
-
The name of the CLUSTER resource.
- ClusterAuthorizationException - Exception Class in org.apache.kafka.common.errors
- ClusterAuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.ClusterAuthorizationException
- ClusterAuthorizationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ClusterAuthorizationException
- clusterId() - Method in class org.apache.kafka.clients.admin.AddRaftVoterOptions
- clusterId() - Method in class org.apache.kafka.clients.admin.DescribeClusterResult
-
Returns a future which yields the current cluster id.
- clusterId() - Method in class org.apache.kafka.clients.admin.RemoveRaftVoterOptions
- clusterId() - Method in class org.apache.kafka.common.ClusterResource
-
Return the cluster id.
- clusterResource() - Method in class org.apache.kafka.common.Cluster
- clusterResource() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
-
Returns cluster metadata for the broker running this authorizer including cluster id.
- ClusterResource - Class in org.apache.kafka.common
-
The
ClusterResource
class encapsulates metadata for a Kafka cluster. - ClusterResource(String) - Constructor for class org.apache.kafka.common.ClusterResource
-
Create
ClusterResource
with a cluster id. - ClusterResourceListener - Interface in org.apache.kafka.common
-
A callback interface that users can implement when they wish to get notified about changes in the Cluster metadata.
- code() - Method in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- code() - Method in enum class org.apache.kafka.common.acl.AclOperation
-
Return the code of this operation.
- code() - Method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Return the code of this permission type.
- code() - Method in enum class org.apache.kafka.common.resource.PatternType
- code() - Method in enum class org.apache.kafka.common.resource.ResourceType
-
Return the code of this resource.
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Avg
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Frequencies
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Max
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Min
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Percentiles
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- combine(List<SampledStat.Sample>, MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.WindowedSum
- commit() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- commit() - Method in class org.apache.kafka.common.security.plain.PlainLoginModule
- commit() - Method in class org.apache.kafka.common.security.scram.ScramLoginModule
- commitAsync() - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitAsync() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit offsets returned on the last
KafkaConsumer.poll(Duration)
for all the subscribed list of topics and partition. - commitAsync() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Commit the acknowledgements for the records returned.
- commitAsync() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitAsync() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- commitAsync() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- commitAsync(Map<TopicPartition, OffsetAndMetadata>, OffsetCommitCallback) - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitAsync(Map<TopicPartition, OffsetAndMetadata>, OffsetCommitCallback) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit the specified offsets for the specified list of topics and partitions to Kafka.
- commitAsync(Map<TopicPartition, OffsetAndMetadata>, OffsetCommitCallback) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitAsync(OffsetCommitCallback) - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitAsync(OffsetCommitCallback) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit offsets returned on the last
poll()
for the subscribed list of topics and partitions. - commitAsync(OffsetCommitCallback) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitCount() - Method in class org.apache.kafka.clients.producer.MockProducer
- CommitFailedException - Exception Class in org.apache.kafka.clients.consumer
-
This exception is raised when an offset commit with
KafkaConsumer.commitSync()
fails with an unrecoverable error. - CommitFailedException() - Constructor for exception class org.apache.kafka.clients.consumer.CommitFailedException
- CommitFailedException(String) - Constructor for exception class org.apache.kafka.clients.consumer.CommitFailedException
- commitSync() - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitSync() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit offsets returned on the last
poll()
for all the subscribed list of topics and partitions. - commitSync() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Commit the acknowledgements for the records returned.
- commitSync() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitSync() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- commitSync() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- commitSync(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitSync(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit offsets returned on the last
poll()
for all the subscribed list of topics and partitions. - commitSync(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Commit the acknowledgements for the records returned.
- commitSync(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitSync(Duration) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- commitSync(Duration) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- commitSync(Map<TopicPartition, OffsetAndMetadata>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitSync(Map<TopicPartition, OffsetAndMetadata>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit the specified offsets for the specified list of topics and partitions.
- commitSync(Map<TopicPartition, OffsetAndMetadata>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitSync(Map<TopicPartition, OffsetAndMetadata>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- commitSync(Map<TopicPartition, OffsetAndMetadata>, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Commit the specified offsets for the specified list of topics and partitions.
- commitSync(Map<TopicPartition, OffsetAndMetadata>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- committed(Set<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- committed(Set<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the last committed offsets for the given partitions (whether the commit happened by this process or another).
- committed(Set<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- committed(Set<TopicPartition>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- committed(Set<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the last committed offsets for the given partitions (whether the commit happened by this process or another).
- committed(Set<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- commitTransaction() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Commits the ongoing transaction.
- commitTransaction() - Method in class org.apache.kafka.clients.producer.MockProducer
- commitTransaction() - Method in interface org.apache.kafka.clients.producer.Producer
- commitTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
- compareTo(Uuid) - Method in class org.apache.kafka.common.Uuid
- compilePredicate(Map<String, ?>) - Static method in class org.apache.kafka.common.metrics.JmxReporter
- COMPLETE_ABORT - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- COMPLETE_COMMIT - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- completedFuture(U) - Static method in class org.apache.kafka.common.KafkaFuture
-
Returns a new KafkaFuture that is already completed with the given value.
- completeNext() - Method in class org.apache.kafka.clients.producer.MockProducer
-
Complete the earliest uncompleted call successfully.
- COMPLETING_REBALANCE - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- COMPLETING_REBALANCE - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- COMPLETING_REBALANCE - Enum constant in enum class org.apache.kafka.common.GroupState
- components() - Method in class org.apache.kafka.common.quota.ClientQuotaFilter
- CompoundStat - Interface in org.apache.kafka.common.metrics
-
A compound stat is a stat where a single measurement and associated data structure feeds many metrics.
- CompoundStat.NamedMeasurable - Class in org.apache.kafka.common.metrics
- COMPRESSION_GZIP_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
compression.gzip.level
- COMPRESSION_GZIP_LEVEL_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_GZIP_LEVEL_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_LZ4_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
compression.lz4.level
- COMPRESSION_LZ4_LEVEL_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_LZ4_LEVEL_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_TYPE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
compression.type
- COMPRESSION_TYPE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_TYPE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_ZSTD_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
compression.zstd.level
- COMPRESSION_ZSTD_LEVEL_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- COMPRESSION_ZSTD_LEVEL_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- ConcurrentTransactionsException - Exception Class in org.apache.kafka.common.errors
- ConcurrentTransactionsException(String) - Constructor for exception class org.apache.kafka.common.errors.ConcurrentTransactionsException
- config() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- config() - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
Get the configuration of this metric.
- config() - Method in class org.apache.kafka.common.metrics.Metrics
- config(String) - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Returns a future that provides topic configs for the topic when the request completes.
- config(MetricConfig) - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
Set the metric config.
- Config - Class in org.apache.kafka.clients.admin
-
A configuration object containing the configuration entries for a resource.
- Config - Class in org.apache.kafka.common.config
- Config(Collection<ConfigEntry>) - Constructor for class org.apache.kafka.clients.admin.Config
-
Create a configuration instance with the provided entries.
- Config(List<ConfigValue>) - Constructor for class org.apache.kafka.common.config.Config
- CONFIG_PROVIDERS_CONFIG - Static variable in class org.apache.kafka.common.config.AbstractConfig
- ConfigChangeCallback - Interface in org.apache.kafka.common.config
-
A callback passed to
ConfigProvider
for subscribing to changes. - ConfigData - Class in org.apache.kafka.common.config
-
Configuration data from a
ConfigProvider
. - ConfigData(Map<String, String>) - Constructor for class org.apache.kafka.common.config.ConfigData
-
Creates a new ConfigData with the given data.
- ConfigData(Map<String, String>, Long) - Constructor for class org.apache.kafka.common.config.ConfigData
-
Creates a new ConfigData with the given data and TTL (in milliseconds).
- configDef() - Static method in class org.apache.kafka.clients.admin.AdminClientConfig
- configDef() - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
- configDef() - Static method in class org.apache.kafka.clients.producer.ProducerConfig
- ConfigDef - Class in org.apache.kafka.common.config
-
This class is used for specifying the set of expected configurations.
- ConfigDef() - Constructor for class org.apache.kafka.common.config.ConfigDef
- ConfigDef(ConfigDef) - Constructor for class org.apache.kafka.common.config.ConfigDef
- ConfigDef.CaseInsensitiveValidString - Class in org.apache.kafka.common.config
- ConfigDef.CompositeValidator - Class in org.apache.kafka.common.config
- ConfigDef.ConfigKey - Class in org.apache.kafka.common.config
- ConfigDef.Importance - Enum Class in org.apache.kafka.common.config
-
The importance level for a configuration
- ConfigDef.LambdaValidator - Class in org.apache.kafka.common.config
- ConfigDef.ListSize - Class in org.apache.kafka.common.config
- ConfigDef.NonEmptyString - Class in org.apache.kafka.common.config
- ConfigDef.NonEmptyStringWithoutControlChars - Class in org.apache.kafka.common.config
- ConfigDef.NonNullValidator - Class in org.apache.kafka.common.config
- ConfigDef.Range - Class in org.apache.kafka.common.config
-
Validation logic for numeric ranges
- ConfigDef.Recommender - Interface in org.apache.kafka.common.config
-
This is used by the
ConfigDef.validate(Map)
to get valid values for a configuration given the current configuration values in order to perform full configuration validation and visibility modification. - ConfigDef.Type - Enum Class in org.apache.kafka.common.config
-
The type for a configuration value
- ConfigDef.Validator - Interface in org.apache.kafka.common.config
-
Validation logic the user may provide to perform single configuration validation.
- ConfigDef.ValidList - Class in org.apache.kafka.common.config
- ConfigDef.ValidString - Class in org.apache.kafka.common.config
- ConfigDef.Width - Enum Class in org.apache.kafka.common.config
-
The width of a configuration value
- configEntities() - Method in interface org.apache.kafka.server.quota.ClientQuotaEntity
-
Returns the list of configuration entities that this quota entity is comprised of.
- configEntry() - Method in class org.apache.kafka.clients.admin.AlterConfigOp
- ConfigEntry - Class in org.apache.kafka.clients.admin
-
A class representing a configuration entry containing name, value and additional metadata.
- ConfigEntry(String, String) - Constructor for class org.apache.kafka.clients.admin.ConfigEntry
-
Create a configuration entry with the provided values.
- ConfigEntry(String, String, ConfigEntry.ConfigSource, boolean, boolean, List<ConfigEntry.ConfigSynonym>, ConfigEntry.ConfigType, String) - Constructor for class org.apache.kafka.clients.admin.ConfigEntry
-
Create a configuration with the provided values.
- ConfigEntry.ConfigSource - Enum Class in org.apache.kafka.clients.admin
-
Source of configuration entries.
- ConfigEntry.ConfigSynonym - Class in org.apache.kafka.clients.admin
-
Class representing a configuration synonym of a
ConfigEntry
. - ConfigEntry.ConfigType - Enum Class in org.apache.kafka.clients.admin
-
Data type of configuration entry.
- ConfigException - Exception Class in org.apache.kafka.common.config
-
Thrown if the user supplies an invalid configuration
- ConfigException(String) - Constructor for exception class org.apache.kafka.common.config.ConfigException
- ConfigException(String, Object) - Constructor for exception class org.apache.kafka.common.config.ConfigException
- ConfigException(String, Object, String) - Constructor for exception class org.apache.kafka.common.config.ConfigException
- ConfigKey(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>, ConfigDef.Recommender, boolean) - Constructor for class org.apache.kafka.common.config.ConfigDef.ConfigKey
- configKeys() - Method in class org.apache.kafka.common.config.ConfigDef
-
Get the configuration keys
- configNames() - Static method in class org.apache.kafka.clients.admin.AdminClientConfig
- configNames() - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
- configNames() - Static method in class org.apache.kafka.clients.producer.ProducerConfig
- ConfigProvider - Interface in org.apache.kafka.common.config.provider
-
A provider of configuration data, which may optionally support subscriptions to configuration changes.
- ConfigResource - Class in org.apache.kafka.common.config
-
A class representing resources that have configs.
- ConfigResource(ConfigResource.Type, String) - Constructor for class org.apache.kafka.common.config.ConfigResource
-
Create an instance of this class with the provided parameters.
- ConfigResource.Type - Enum Class in org.apache.kafka.common.config
-
Type of resource.
- configs() - Method in class org.apache.kafka.clients.admin.NewTopic
-
The configuration for the new topic or null if no configs ever specified.
- configs() - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
-
Return the configs in the request.
- configs() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Return topic configs in the request, not including broker defaults.
- configs(Map<String, String>) - Method in class org.apache.kafka.clients.admin.NewTopic
-
Set the configuration to use on the new topic.
- ConfigTransformer - Class in org.apache.kafka.common.config
-
This class wraps a set of
ConfigProvider
instances and uses them to perform transformations. - ConfigTransformer(Map<String, ConfigProvider>) - Constructor for class org.apache.kafka.common.config.ConfigTransformer
-
Creates a ConfigTransformer with the default pattern, of the form
${provider:[path:]key}
. - ConfigTransformerResult - Class in org.apache.kafka.common.config
-
The result of a transformation from
ConfigTransformer
. - ConfigTransformerResult(Map<String, String>, Map<String, Long>) - Constructor for class org.apache.kafka.common.config.ConfigTransformerResult
-
Creates a new ConfigTransformerResult with the given data and TTL values for a set of paths.
- Configurable - Interface in org.apache.kafka.common
-
A Mix-in style interface for classes that are instantiated by reflection and need to take configuration parameters
- configure(Map<String, ?>) - Method in class org.apache.kafka.clients.producer.RoundRobinPartitioner
- configure(Map<String, ?>) - Method in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
- configure(Map<String, ?>) - Method in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- configure(Map<String, ?>) - Method in class org.apache.kafka.common.config.provider.FileConfigProvider
- configure(Map<String, ?>) - Method in interface org.apache.kafka.common.Configurable
-
Configure this class with the given key-value pairs
- configure(Map<String, ?>) - Method in interface org.apache.kafka.common.MessageFormatter
-
Configures the MessageFormatter
- configure(Map<String, ?>) - Method in class org.apache.kafka.common.metrics.JmxReporter
- configure(Map<String, ?>) - Method in interface org.apache.kafka.common.security.auth.SecurityProviderCreator
-
Configure method is used to configure the generator to create the Security Provider
- configure(Map<String, ?>, boolean) - Method in interface org.apache.kafka.common.serialization.Deserializer
-
Configure this class.
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.ListDeserializer
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.ListSerializer
- configure(Map<String, ?>, boolean) - Method in interface org.apache.kafka.common.serialization.Serde
-
Configure this class, which will configure the underlying serializer and deserializer.
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.Serdes.WrapperSerde
- configure(Map<String, ?>, boolean) - Method in interface org.apache.kafka.common.serialization.Serializer
-
Configure this class.
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.StringDeserializer
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.StringSerializer
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.UUIDDeserializer
- configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.UUIDSerializer
- configure(Map<String, ?>, String, List<AppConfigurationEntry>) - Method in interface org.apache.kafka.common.security.auth.AuthenticateCallbackHandler
-
Configures this callback handler for the specified SASL mechanism.
- configure(Map<String, ?>, String, List<AppConfigurationEntry>) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- configure(Map<String, ?>, String, List<AppConfigurationEntry>) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler
- configure(Map<String, ?>, String, Configuration, AuthenticateCallbackHandler) - Method in interface org.apache.kafka.common.security.auth.Login
-
Configures this login instance.
- ConfigValue - Class in org.apache.kafka.common.config
- ConfigValue(String) - Constructor for class org.apache.kafka.common.config.ConfigValue
- ConfigValue(String, Object, List<Object>, List<String>) - Constructor for class org.apache.kafka.common.config.ConfigValue
- configValues() - Method in class org.apache.kafka.common.config.Config
- CONNECTIONS_MAX_IDLE_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
connections.max.idle.ms
- CONNECTIONS_MAX_IDLE_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
connections.max.idle.ms
- CONNECTIONS_MAX_IDLE_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
connections.max.idle.ms
- CONSTANT - Enum constant in enum class org.apache.kafka.common.metrics.stats.Percentiles.BucketSizing
- ConstantBinScheme(int, double, double) - Constructor for class org.apache.kafka.common.metrics.stats.Histogram.ConstantBinScheme
-
Create a bin scheme with the specified number of bins that all have the same width.
- Consumer<K,
V> - Interface in org.apache.kafka.clients.consumer - CONSUMER - Enum constant in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
Consumer group protocol
- CONSUMER - Enum constant in enum class org.apache.kafka.common.GroupType
- ConsumerConfig - Class in org.apache.kafka.clients.consumer
-
The consumer configuration keys
- ConsumerConfig(Map<String, Object>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerConfig
- ConsumerConfig(Properties) - Constructor for class org.apache.kafka.clients.consumer.ConsumerConfig
- ConsumerGroupDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single consumer group in the cluster.
- ConsumerGroupDescription(String, boolean, Collection<MemberDescription>, String, ConsumerGroupState, Node) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
Deprecated.
- ConsumerGroupDescription(String, boolean, Collection<MemberDescription>, String, ConsumerGroupState, Node, Set<AclOperation>) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
Deprecated.
- ConsumerGroupDescription(String, boolean, Collection<MemberDescription>, String, GroupType, ConsumerGroupState, Node, Set<AclOperation>) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
Deprecated.
- ConsumerGroupDescription(String, boolean, Collection<MemberDescription>, String, GroupType, GroupState, Node, Set<AclOperation>, Optional<Integer>, Optional<Integer>) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupDescription
- ConsumerGroupListing - Class in org.apache.kafka.clients.admin
-
A listing of a consumer group in the cluster.
- ConsumerGroupListing(String, boolean) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Create an instance with the specified parameters.
- ConsumerGroupListing(String, boolean, Optional<ConsumerGroupState>) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Deprecated.Since 4.0. Use
ConsumerGroupListing(String, Optional, boolean)
instead. - ConsumerGroupListing(String, boolean, Optional<ConsumerGroupState>, Optional<GroupType>) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Deprecated.Since 4.0. Use
ConsumerGroupListing(String, Optional, Optional, boolean)
instead. - ConsumerGroupListing(String, Optional<GroupState>, boolean) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Create an instance with the specified parameters.
- ConsumerGroupListing(String, Optional<GroupState>, Optional<GroupType>, boolean) - Constructor for class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Create an instance with the specified parameters.
- ConsumerGroupMetadata - Class in org.apache.kafka.clients.consumer
-
A metadata struct containing the consumer group information.
- ConsumerGroupMetadata(String) - Constructor for class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- ConsumerGroupMetadata(String, int, String, Optional<String>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- consumerGroupOffsetsHistory() - Method in class org.apache.kafka.clients.producer.MockProducer
-
Get the list of committed consumer group offsets since the last call to
MockProducer.clear()
- Consumer Groups and Topic Subscriptions - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- ConsumerGroupState - Enum Class in org.apache.kafka.common
-
Deprecated.Since 4.0. Use
GroupState
instead. - consumerId() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The consumer id of the group member.
- consumerId() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
-
The consumer id of the group member.
- ConsumerInterceptor<K,
V> - Interface in org.apache.kafka.clients.consumer -
A plugin interface that allows you to intercept (and possibly mutate) records received by the consumer.
- ConsumerPartitionAssignor - Interface in org.apache.kafka.clients.consumer
-
This interface is used to define custom partition assignment for use in
KafkaConsumer
. - ConsumerPartitionAssignor.Assignment - Class in org.apache.kafka.clients.consumer
- ConsumerPartitionAssignor.GroupAssignment - Class in org.apache.kafka.clients.consumer
- ConsumerPartitionAssignor.GroupSubscription - Class in org.apache.kafka.clients.consumer
- ConsumerPartitionAssignor.RebalanceProtocol - Enum Class in org.apache.kafka.clients.consumer
-
The rebalance protocol defines partition assignment and revocation semantics.
- ConsumerPartitionAssignor.Subscription - Class in org.apache.kafka.clients.consumer
- ConsumerRebalanceListener - Interface in org.apache.kafka.clients.consumer
-
A callback interface that the user can implement to trigger custom actions when the set of partitions assigned to the consumer changes.
- ConsumerRecord<K,
V> - Class in org.apache.kafka.clients.consumer -
A key/value pair to be received from Kafka.
- ConsumerRecord(String, int, long, long, TimestampType, int, int, K, V, Headers, Optional<Integer>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerRecord
-
Creates a record to be received from a specified topic and partition.
- ConsumerRecord(String, int, long, long, TimestampType, int, int, K, V, Headers, Optional<Integer>, Optional<Short>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerRecord
-
Creates a record to be received from a specified topic and partition.
- ConsumerRecord(String, int, long, K, V) - Constructor for class org.apache.kafka.clients.consumer.ConsumerRecord
-
Creates a record to be received from a specified topic and partition (provided for compatibility with Kafka 0.9 before the message format supported timestamps and before serialized metadata were exposed).
- ConsumerRecords<K,
V> - Class in org.apache.kafka.clients.consumer -
A container that holds the list
ConsumerRecord
per partition for a particular topic. - ConsumerRecords(Map<TopicPartition, List<ConsumerRecord<K, V>>>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerRecords
-
Deprecated.Since 4.0. Use
ConsumerRecords(Map, Map)
instead. - ConsumerRecords(Map<TopicPartition, List<ConsumerRecord<K, V>>>, Map<TopicPartition, OffsetAndMetadata>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerRecords
- Consumption Flow Control - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- contains(Collection<ClientQuotaFilterComponent>) - Static method in class org.apache.kafka.common.quota.ClientQuotaFilter
-
Constructs and returns a quota filter that matches all provided components.
- containsMbean(String) - Method in class org.apache.kafka.common.metrics.JmxReporter
- containsOnly(Collection<ClientQuotaFilterComponent>) - Static method in class org.apache.kafka.common.quota.ClientQuotaFilter
-
Constructs and returns a quota filter that matches all provided components.
- contentType() - Method in interface org.apache.kafka.server.telemetry.ClientTelemetryPayload
-
Method returns the content-type format of the metrics data which is being sent by the client.
- contextChange(MetricsContext) - Method in class org.apache.kafka.common.metrics.JmxReporter
- contextChange(MetricsContext) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
-
Sets the context labels for the service or library exposing metrics.
- contextLabels() - Method in class org.apache.kafka.common.metrics.KafkaMetricsContext
- contextLabels() - Method in interface org.apache.kafka.common.metrics.MetricsContext
-
Returns the labels for this metrics context.
- controller() - Method in class org.apache.kafka.clients.admin.DescribeClusterResult
-
Returns a future which yields the current controller id.
- controller() - Method in class org.apache.kafka.common.Cluster
- CONTROLLER - Enum constant in enum class org.apache.kafka.clients.admin.EndpointType
- CONTROLLER_MUTATION - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaType
- ControllerMovedException - Exception Class in org.apache.kafka.common.errors
- ControllerMovedException(String) - Constructor for exception class org.apache.kafka.common.errors.ControllerMovedException
- ControllerMovedException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ControllerMovedException
- Controlling The Consumer's Position - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- convertToString(Object, ConfigDef.Type) - Static method in class org.apache.kafka.common.config.ConfigDef
- convertToStringMapWithPasswordValues(Map<String, ?>) - Static method in class org.apache.kafka.common.config.ConfigDef
-
Converts a map of config (key, value) pairs to a map of strings where each value is converted to a string.
- COOPERATIVE - Enum constant in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
- COOPERATIVE_STICKY_ASSIGNOR_NAME - Static variable in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- CooperativeStickyAssignor - Class in org.apache.kafka.clients.consumer
-
A cooperative version of the
AbstractStickyAssignor
. - CooperativeStickyAssignor() - Constructor for class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- coordinator() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
The classic group coordinator, or null if the coordinator is not known.
- coordinator() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The consumer group coordinator, or null if the coordinator is not known.
- coordinator() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
-
The share group coordinator, or null if the coordinator is not known.
- coordinatorEpoch() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- coordinatorEpoch() - Method in class org.apache.kafka.clients.admin.ProducerState
- coordinatorId() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- CoordinatorLoadInProgressException - Exception Class in org.apache.kafka.common.errors
-
In the context of the group coordinator, the broker returns this error code for any coordinator request if it is still loading the group metadata (e.g.
- CoordinatorLoadInProgressException(String) - Constructor for exception class org.apache.kafka.common.errors.CoordinatorLoadInProgressException
- CoordinatorLoadInProgressException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.CoordinatorLoadInProgressException
- CoordinatorNotAvailableException - Exception Class in org.apache.kafka.common.errors
-
In the context of the group coordinator, the broker returns this error code for metadata or offset commit requests if the group metadata topic has not been created yet.
- CoordinatorNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.CoordinatorNotAvailableException
- CoordinatorNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.CoordinatorNotAvailableException
- correlationId() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns the correlation id from the request header.
- CorruptRecordException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates a record has failed its internal CRC check, this generally indicates network or disk corruption.
- CorruptRecordException() - Constructor for exception class org.apache.kafka.common.errors.CorruptRecordException
- CorruptRecordException(String) - Constructor for exception class org.apache.kafka.common.errors.CorruptRecordException
- CorruptRecordException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.CorruptRecordException
- CorruptRecordException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.CorruptRecordException
- count() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
-
The number of records for all topics
- counts() - Method in class org.apache.kafka.common.metrics.stats.Histogram
- create(Map<String, Object>) - Static method in interface org.apache.kafka.clients.admin.Admin
-
Create a new Admin with the given configuration.
- create(Map<String, Object>) - Static method in class org.apache.kafka.clients.admin.AdminClient
-
Create a new Admin with the given configuration.
- create(Properties) - Static method in interface org.apache.kafka.clients.admin.Admin
-
Create a new Admin with the given configuration.
- create(Properties) - Static method in class org.apache.kafka.clients.admin.AdminClient
-
Create a new Admin with the given configuration.
- CREATE - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
CREATE operation.
- CREATE_TOKENS - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
CREATE_TOKENS operation.
- createAcls(Collection<AclBinding>) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.createAcls(Collection, CreateAclsOptions)
with default options. - createAcls(Collection<AclBinding>, CreateAclsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Creates access control lists (ACLs) which are bound to specific resources.
- createAcls(Collection<AclBinding>, CreateAclsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- createAcls(Collection<AclBinding>, CreateAclsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- createAcls(AuthorizableRequestContext, List<AclBinding>) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Creates new ACL bindings.
- CreateAclsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.createAcls(Collection)
. - CreateAclsOptions() - Constructor for class org.apache.kafka.clients.admin.CreateAclsOptions
- CreateAclsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.createAcls(Collection)
call. - createClientSslEngine(String, int, String) - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Creates a new
SSLEngine
object to be used by the client. - createDelegationToken() - Method in interface org.apache.kafka.clients.admin.Admin
-
Create a Delegation Token.
- createDelegationToken(CreateDelegationTokenOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Create a Delegation Token.
- createDelegationToken(CreateDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- createDelegationToken(CreateDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- CreateDelegationTokenOptions - Class in org.apache.kafka.clients.admin
- CreateDelegationTokenOptions() - Constructor for class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- CreateDelegationTokenResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.createDelegationToken(CreateDelegationTokenOptions)
call. - createPartitions(Map<String, NewPartitions>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Increase the number of partitions of the topics given as the keys of
newPartitions
according to the corresponding values. - createPartitions(Map<String, NewPartitions>, CreatePartitionsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Increase the number of partitions of the topics given as the keys of
newPartitions
according to the corresponding values. - createPartitions(Map<String, NewPartitions>, CreatePartitionsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- createPartitions(Map<String, NewPartitions>, CreatePartitionsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- CreatePartitionsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.createPartitions(Map)
. - CreatePartitionsOptions() - Constructor for class org.apache.kafka.clients.admin.CreatePartitionsOptions
- CreatePartitionsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.createPartitions(Map)
call. - createServerSslEngine(String, int) - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Creates a new
SSLEngine
object to be used by the server. - CreateTopicPolicy - Interface in org.apache.kafka.server.policy
-
An interface for enforcing a policy on create topics requests.
- CreateTopicPolicy.RequestMetadata - Class in org.apache.kafka.server.policy
-
Class containing the create request parameters.
- createTopics(Collection<NewTopic>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Create a batch of new topics with the default options.
- createTopics(Collection<NewTopic>, CreateTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Create a batch of new topics.
- createTopics(Collection<NewTopic>, CreateTopicsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- createTopics(Collection<NewTopic>, CreateTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- CreateTopicsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.createTopics(Collection)
. - CreateTopicsOptions() - Constructor for class org.apache.kafka.clients.admin.CreateTopicsOptions
- CreateTopicsResult - Class in org.apache.kafka.clients.admin
-
The result of
Admin.createTopics(Collection)
. - CreateTopicsResult.TopicMetadataAndConfig - Class in org.apache.kafka.clients.admin
- credentialInfo() - Method in class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
- credentialInfos() - Method in class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- Cross-Version Compatibility - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- Cross-Version Compatibility - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- CumulativeCount - Class in org.apache.kafka.common.metrics.stats
-
A non-sampled version of
WindowedCount
maintained over all time. - CumulativeCount() - Constructor for class org.apache.kafka.common.metrics.stats.CumulativeCount
- CumulativeSum - Class in org.apache.kafka.common.metrics.stats
-
An non-sampled cumulative total maintained over all time.
- CumulativeSum() - Constructor for class org.apache.kafka.common.metrics.stats.CumulativeSum
- CumulativeSum(double) - Constructor for class org.apache.kafka.common.metrics.stats.CumulativeSum
- current(long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- currentLag(TopicPartition) - Method in interface org.apache.kafka.clients.consumer.Consumer
- currentLag(TopicPartition) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the consumer's current lag on the partition.
- currentLag(TopicPartition) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- currentTransactionStartOffset() - Method in class org.apache.kafka.clients.admin.ProducerState
D
- 2. Decouple Consumption and Processing - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- data() - Method in class org.apache.kafka.common.config.ConfigData
-
Returns the data.
- data() - Method in class org.apache.kafka.common.config.ConfigTransformerResult
-
Returns the transformed data, with variables replaced with corresponding values from the ConfigProvider instances if found.
- data() - Method in interface org.apache.kafka.server.telemetry.ClientTelemetryPayload
-
Method returns the serialized metrics data as received by the client.
- DEAD - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- DEAD - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- DEAD - Enum constant in enum class org.apache.kafka.common.GroupState
- DEBUG - Enum constant in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- DEBUG_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
DEBUG
level designates fine-grained informational events that are most useful to debug Kafka - DEFAULT_ALLOW_AUTO_CREATE_TOPICS - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_API_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- DEFAULT_API_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
default.api.timeout.ms
- DEFAULT_CLIENT_ID - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
- DEFAULT_CLIENT_RACK - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DEFAULT_EXCLUDE - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- DEFAULT_EXCLUDE_INTERNAL_TOPICS - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_FETCH_MAX_BYTES - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_FETCH_MAX_WAIT_MS - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_FETCH_MIN_BYTES - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_GROUP_PROTOCOL - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_GROUP_REMOTE_ASSIGNOR - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_INCLUDE - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- DEFAULT_ISOLATION_LEVEL - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_KERBEROS_KINIT_CMD - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_KERBEROS_MIN_TIME_BEFORE_RELOGIN - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_KERBEROS_TICKET_RENEW_JITTER - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_KERBEROS_TICKET_RENEW_WINDOW_FACTOR - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_LOGIN_REFRESH_BUFFER_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_LOGIN_REFRESH_MIN_PERIOD_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_LOGIN_REFRESH_WINDOW_FACTOR - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_LOGIN_REFRESH_WINDOW_JITTER - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_MAX_PARTITION_FETCH_BYTES - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_MAX_POLL_RECORDS - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- DEFAULT_METADATA_RECOVERY_REBOOTSTRAP_TRIGGER_MS - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- DEFAULT_METADATA_RECOVERY_STRATEGY - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- DEFAULT_NUM_SAMPLES - Static variable in class org.apache.kafka.common.metrics.MetricConfig
- DEFAULT_PATTERN - Static variable in class org.apache.kafka.common.config.ConfigTransformer
- DEFAULT_SASL_LOGIN_RETRY_BACKOFF_MAX_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_LOGIN_RETRY_BACKOFF_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_MECHANISM - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_CLOCK_SKEW_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_HEADER_URLENCODE - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_JWKS_ENDPOINT_REFRESH_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MAX_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_SCOPE_CLAIM_NAME - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SASL_OAUTHBEARER_SUB_CLAIM_NAME - Static variable in class org.apache.kafka.common.config.SaslConfigs
- DEFAULT_SECURITY_PROTOCOL - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- DEFAULT_SSL_ENABLED_PROTOCOLS - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_KEYMANGER_ALGORITHM - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_KEYSTORE_TYPE - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_PROTOCOL - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_TRUSTMANAGER_ALGORITHM - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_SSL_TRUSTSTORE_TYPE - Static variable in class org.apache.kafka.common.config.SslConfigs
- DEFAULT_USER - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
- defaultValue - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- defaultValues() - Method in class org.apache.kafka.common.config.ConfigDef
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String, String, int, ConfigDef.Width, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic, not dependents and no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic and no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic
- define(String, ConfigDef.Type, Object, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no special validation logic and no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no group, no order in group, no width, no display name, no dependents and no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no dependents and no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no custom recommender
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>, ConfigDef.Recommender, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration
- define(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no dependents
- define(String, ConfigDef.Type, ConfigDef.Importance, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no default value and no special validation logic
- define(String, ConfigDef.Type, ConfigDef.Importance, String, String, int, ConfigDef.Width, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no default value, no special validation logic, no dependents and no custom recommender
- define(String, ConfigDef.Type, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no default value, no special validation logic and no custom recommender
- define(String, ConfigDef.Type, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, List<String>, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no default value and no special validation logic
- define(String, ConfigDef.Type, ConfigDef.Importance, String, String, int, ConfigDef.Width, String, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new configuration with no default value, no special validation logic and no custom recommender
- define(ConfigDef.ConfigKey) - Method in class org.apache.kafka.common.config.ConfigDef
- defineInternal(String, ConfigDef.Type, Object, ConfigDef.Importance) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new internal configuration.
- defineInternal(String, ConfigDef.Type, Object, ConfigDef.Validator, ConfigDef.Importance, String) - Method in class org.apache.kafka.common.config.ConfigDef
-
Define a new internal configuration.
- DELEGATION_TOKEN - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
A token ID.
- delegationToken() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenResult
-
Returns a future which yields a delegation token
- DelegationToken - Class in org.apache.kafka.common.security.token.delegation
-
A class representing a delegation token.
- DelegationToken(TokenInformation, byte[]) - Constructor for class org.apache.kafka.common.security.token.delegation.DelegationToken
- DelegationTokenAuthorizationException - Exception Class in org.apache.kafka.common.errors
- DelegationTokenAuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenAuthorizationException
- DelegationTokenAuthorizationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenAuthorizationException
- DelegationTokenDisabledException - Exception Class in org.apache.kafka.common.errors
- DelegationTokenDisabledException(String) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenDisabledException
- DelegationTokenDisabledException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenDisabledException
- DelegationTokenExpiredException - Exception Class in org.apache.kafka.common.errors
- DelegationTokenExpiredException(String) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenExpiredException
- DelegationTokenExpiredException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenExpiredException
- DelegationTokenNotFoundException - Exception Class in org.apache.kafka.common.errors
- DelegationTokenNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenNotFoundException
- DelegationTokenNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenNotFoundException
- DelegationTokenOwnerMismatchException - Exception Class in org.apache.kafka.common.errors
- DelegationTokenOwnerMismatchException(String) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenOwnerMismatchException
- DelegationTokenOwnerMismatchException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DelegationTokenOwnerMismatchException
- delegationTokens() - Method in class org.apache.kafka.clients.admin.DescribeDelegationTokenResult
-
Returns a future which yields list of delegation tokens
- DELETE - Enum constant in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
Revert the configuration entry to the default value (possibly null).
- DELETE - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
DELETE operation.
- DELETE_RETENTION_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- DELETE_RETENTION_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- deleteAcls(Collection<AclBindingFilter>) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.deleteAcls(Collection, DeleteAclsOptions)
with default options. - deleteAcls(Collection<AclBindingFilter>, DeleteAclsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Deletes access control lists (ACLs) according to the supplied filters.
- deleteAcls(Collection<AclBindingFilter>, DeleteAclsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- deleteAcls(Collection<AclBindingFilter>, DeleteAclsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- deleteAcls(AuthorizableRequestContext, List<AclBindingFilter>) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Deletes all ACL bindings that match the provided filters.
- DeleteAclsOptions - Class in org.apache.kafka.clients.admin
-
Options for the
Admin.deleteAcls(Collection)
call. - DeleteAclsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteAclsOptions
- DeleteAclsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.deleteAcls(Collection)
call. - DeleteAclsResult.FilterResult - Class in org.apache.kafka.clients.admin
-
A class containing either the deleted ACL binding or an exception if the delete failed.
- DeleteAclsResult.FilterResults - Class in org.apache.kafka.clients.admin
-
A class containing the results of the delete ACLs operation.
- deleteConsumerGroupOffsets(String, Set<TopicPartition>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete committed offsets for a set of partitions in a consumer group with the default options.
- deleteConsumerGroupOffsets(String, Set<TopicPartition>, DeleteConsumerGroupOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete committed offsets for a set of partitions in a consumer group.
- deleteConsumerGroupOffsets(String, Set<TopicPartition>, DeleteConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- deleteConsumerGroupOffsets(String, Set<TopicPartition>, DeleteConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DeleteConsumerGroupOffsetsOptions - Class in org.apache.kafka.clients.admin
-
Options for the
Admin.deleteConsumerGroupOffsets(String, Set)
call. - DeleteConsumerGroupOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteConsumerGroupOffsetsOptions
- DeleteConsumerGroupOffsetsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.deleteConsumerGroupOffsets(String, Set)
call. - deleteConsumerGroups(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete consumer groups from the cluster with the default options.
- deleteConsumerGroups(Collection<String>, DeleteConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete consumer groups from the cluster.
- deleteConsumerGroups(Collection<String>, DeleteConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- deleteConsumerGroups(Collection<String>, DeleteConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DeleteConsumerGroupsOptions - Class in org.apache.kafka.clients.admin
-
Options for the
Admin.deleteConsumerGroups(Collection)
call. - DeleteConsumerGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteConsumerGroupsOptions
- DeleteConsumerGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.deleteConsumerGroups(Collection)
call. - deletedGroups() - Method in class org.apache.kafka.clients.admin.DeleteConsumerGroupsResult
-
Return a map from group id to futures which can be used to check the status of individual deletions.
- DeletedRecords - Class in org.apache.kafka.clients.admin
-
Represents information about deleted records
- DeletedRecords(long) - Constructor for class org.apache.kafka.clients.admin.DeletedRecords
-
Create an instance of this class with the provided parameters.
- deleteRecords(Map<TopicPartition, RecordsToDelete>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete records whose offset is smaller than the given offset of the corresponding partition.
- deleteRecords(Map<TopicPartition, RecordsToDelete>, DeleteRecordsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete records whose offset is smaller than the given offset of the corresponding partition.
- deleteRecords(Map<TopicPartition, RecordsToDelete>, DeleteRecordsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- deleteRecords(Map<TopicPartition, RecordsToDelete>, DeleteRecordsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DeleteRecordsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.deleteRecords(Map, DeleteRecordsOptions)
. - DeleteRecordsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteRecordsOptions
- DeleteRecordsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.deleteRecords(Map)
call. - DeleteRecordsResult(Map<TopicPartition, KafkaFuture<DeletedRecords>>) - Constructor for class org.apache.kafka.clients.admin.DeleteRecordsResult
- deleteTopics(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.deleteTopics(TopicCollection, DeleteTopicsOptions)
with default options. - deleteTopics(Collection<String>, DeleteTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.deleteTopics(TopicCollection, DeleteTopicsOptions)
with default options. - deleteTopics(TopicCollection) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.deleteTopics(TopicCollection, DeleteTopicsOptions)
with default options. - deleteTopics(TopicCollection, DeleteTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Delete a batch of topics.
- deleteTopics(TopicCollection, DeleteTopicsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- deleteTopics(TopicCollection, DeleteTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DeleteTopicsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.deleteTopics(Collection)
. - DeleteTopicsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteTopicsOptions
- DeleteTopicsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.deleteTopics(Collection)
call. - DELIVERY_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
delivery.timeout.ms
- deliveryCount() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
Get the delivery count for the record if available.
- DENIED - Enum constant in enum class org.apache.kafka.server.authorizer.AuthorizationResult
- DENY - Enum constant in enum class org.apache.kafka.common.acl.AclPermissionType
-
Disallows access.
- dependents - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- DESCRIBE - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
DESCRIBE operation.
- DESCRIBE_CONFIGS - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
DESCRIBE_CONFIGS operation.
- DESCRIBE_TOKENS - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
DESCRIBE_TOKENS operation.
- describeAcls(AclBindingFilter) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.describeAcls(AclBindingFilter, DescribeAclsOptions)
with default options. - describeAcls(AclBindingFilter, DescribeAclsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Lists access control lists (ACLs) according to the supplied filter.
- describeAcls(AclBindingFilter, DescribeAclsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeAcls(AclBindingFilter, DescribeAclsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeAclsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeAcls(AclBindingFilter)
. - DescribeAclsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeAclsOptions
- DescribeAclsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeAcls(AclBindingFilter)
call. - describeClassicGroups(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some classic groups in the cluster, with the default options.
- describeClassicGroups(Collection<String>, DescribeClassicGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some classic groups in the cluster.
- describeClassicGroups(Collection<String>, DescribeClassicGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeClassicGroups(Collection<String>, DescribeClassicGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeClassicGroupsOptions - Class in org.apache.kafka.clients.admin
- DescribeClassicGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeClassicGroupsOptions
- DescribeClassicGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeClassicGroups(Collection, DescribeClassicGroupsOptions)
} call. - DescribeClassicGroupsResult(Map<String, KafkaFuture<ClassicGroupDescription>>) - Constructor for class org.apache.kafka.clients.admin.DescribeClassicGroupsResult
- describeClientQuotas(ClientQuotaFilter) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes all entities matching the provided filter that have at least one client quota configuration value defined.
- describeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes all entities matching the provided filter that have at least one client quota configuration value defined.
- describeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeClientQuotasOptions - Class in org.apache.kafka.clients.admin
- DescribeClientQuotasOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeClientQuotasOptions
- DescribeClientQuotasResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeClientQuotas(ClientQuotaFilter, DescribeClientQuotasOptions)
call. - DescribeClientQuotasResult(KafkaFuture<Map<ClientQuotaEntity, Map<String, Double>>>) - Constructor for class org.apache.kafka.clients.admin.DescribeClientQuotasResult
-
Maps an entity to its configured quota value(s).
- describeCluster() - Method in interface org.apache.kafka.clients.admin.Admin
-
Get information about the nodes in the cluster, using the default options.
- describeCluster(DescribeClusterOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Get information about the nodes in the cluster.
- describeCluster(DescribeClusterOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeCluster(DescribeClusterOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeClusterOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeCluster()
. - DescribeClusterOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeClusterOptions
- DescribeClusterResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeCluster()
call. - describeConfigs(Collection<ConfigResource>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Get the configuration for the specified resources with the default options.
- describeConfigs(Collection<ConfigResource>, DescribeConfigsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Get the configuration for the specified resources.
- describeConfigs(Collection<ConfigResource>, DescribeConfigsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeConfigs(Collection<ConfigResource>, DescribeConfigsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeConfigsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeConfigs(Collection)
. - DescribeConfigsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeConfigsOptions
- DescribeConfigsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeConfigs(Collection)
call. - describeConsumerGroups(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some consumer groups in the cluster, with the default options.
- describeConsumerGroups(Collection<String>, DescribeConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some consumer groups in the cluster.
- describeConsumerGroups(Collection<String>, DescribeConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeConsumerGroups(Collection<String>, DescribeConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeConsumerGroupsOptions - Class in org.apache.kafka.clients.admin
- DescribeConsumerGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeConsumerGroupsOptions
- DescribeConsumerGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.describeConsumerGroups(Collection, DescribeConsumerGroupsOptions)
} call. - DescribeConsumerGroupsResult(Map<String, KafkaFuture<ConsumerGroupDescription>>) - Constructor for class org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
- describeDelegationToken() - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe the Delegation Tokens.
- describeDelegationToken(DescribeDelegationTokenOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe the Delegation Tokens.
- describeDelegationToken(DescribeDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeDelegationToken(DescribeDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeDelegationTokenOptions - Class in org.apache.kafka.clients.admin
- DescribeDelegationTokenOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeDelegationTokenOptions
- DescribeDelegationTokenResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.describeDelegationToken(DescribeDelegationTokenOptions)
call. - describedGroups() - Method in class org.apache.kafka.clients.admin.DescribeClassicGroupsResult
-
Return a map from group id to futures which yield group descriptions.
- describedGroups() - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
-
Return a map from group id to futures which yield group descriptions.
- describedGroups() - Method in class org.apache.kafka.clients.admin.DescribeShareGroupsResult
-
Return a map from group id to futures which yield share group descriptions.
- describeFeatures() - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes finalized as well as supported features.
- describeFeatures(DescribeFeaturesOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes finalized as well as supported features.
- describeFeatures(DescribeFeaturesOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeFeatures(DescribeFeaturesOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeFeaturesOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeFeatures(DescribeFeaturesOptions)
. - DescribeFeaturesOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeFeaturesOptions
- DescribeFeaturesResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeFeatures(DescribeFeaturesOptions)
call. - describeLogDirs(Collection<Integer>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Query the information of all log directories on the given set of brokers
- describeLogDirs(Collection<Integer>, DescribeLogDirsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Query the information of all log directories on the given set of brokers
- describeLogDirs(Collection<Integer>, DescribeLogDirsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeLogDirs(Collection<Integer>, DescribeLogDirsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeLogDirsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeLogDirs(Collection)
- DescribeLogDirsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeLogDirsOptions
- DescribeLogDirsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeLogDirs(Collection)
call. - describeMetadataQuorum() - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes the state of the metadata quorum.
- describeMetadataQuorum(DescribeMetadataQuorumOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describes the state of the metadata quorum.
- describeMetadataQuorum(DescribeMetadataQuorumOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeMetadataQuorum(DescribeMetadataQuorumOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeMetadataQuorumOptions - Class in org.apache.kafka.clients.admin
- DescribeMetadataQuorumOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeMetadataQuorumOptions
- DescribeMetadataQuorumResult - Class in org.apache.kafka.clients.admin
- describeProducers(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe producer state on a set of topic partitions.
- describeProducers(Collection<TopicPartition>, DescribeProducersOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe active producer state on a set of topic partitions.
- describeProducers(Collection<TopicPartition>, DescribeProducersOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeProducers(Collection<TopicPartition>, DescribeProducersOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeProducersOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeProducers(Collection)
. - DescribeProducersOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeProducersOptions
- DescribeProducersResult - Class in org.apache.kafka.clients.admin
- DescribeProducersResult.PartitionProducerState - Class in org.apache.kafka.clients.admin
- describeReplicaLogDirs(Collection<TopicPartitionReplica>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Query the replica log directory information for the specified replicas.
- describeReplicaLogDirs(Collection<TopicPartitionReplica>, DescribeReplicaLogDirsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Query the replica log directory information for the specified replicas.
- describeReplicaLogDirs(Collection<TopicPartitionReplica>, DescribeReplicaLogDirsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeReplicaLogDirs(Collection<TopicPartitionReplica>, DescribeReplicaLogDirsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeReplicaLogDirsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeReplicaLogDirs(Collection)
. - DescribeReplicaLogDirsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeReplicaLogDirsOptions
- DescribeReplicaLogDirsResult - Class in org.apache.kafka.clients.admin
-
The result of
Admin.describeReplicaLogDirs(Collection)
. - DescribeReplicaLogDirsResult.ReplicaLogDirInfo - Class in org.apache.kafka.clients.admin
- describeShareGroups(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some share groups in the cluster, with the default options.
- describeShareGroups(Collection<String>, DescribeShareGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some share groups in the cluster.
- describeShareGroups(Collection<String>, DescribeShareGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeShareGroups(Collection<String>, DescribeShareGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeShareGroupsOptions - Class in org.apache.kafka.clients.admin
- DescribeShareGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeShareGroupsOptions
- DescribeShareGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.describeShareGroups(Collection, DescribeShareGroupsOptions)
} call. - DescribeShareGroupsResult(Map<String, KafkaFuture<ShareGroupDescription>>) - Constructor for class org.apache.kafka.clients.admin.DescribeShareGroupsResult
- describeTopics(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some topics in the cluster, with the default options.
- describeTopics(Collection<String>, DescribeTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some topics in the cluster.
- describeTopics(TopicCollection) - Method in interface org.apache.kafka.clients.admin.Admin
-
This is a convenience method for
Admin.describeTopics(TopicCollection, DescribeTopicsOptions)
with default options. - describeTopics(TopicCollection, DescribeTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe some topics in the cluster.
- describeTopics(TopicCollection, DescribeTopicsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeTopics(TopicCollection, DescribeTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeTopicsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeTopics(Collection)
. - DescribeTopicsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeTopicsOptions
- DescribeTopicsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeTopics(Collection)
call. - describeTransactions(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe the state of a set of transactional IDs.
- describeTransactions(Collection<String>, DescribeTransactionsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe the state of a set of transactional IDs from the respective transaction coordinators, which are dynamically discovered.
- describeTransactions(Collection<String>, DescribeTransactionsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeTransactions(Collection<String>, DescribeTransactionsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeTransactionsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.describeTransactions(Collection)
. - DescribeTransactionsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeTransactionsOptions
- DescribeTransactionsResult - Class in org.apache.kafka.clients.admin
- describeUserScramCredentials() - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe all SASL/SCRAM credentials.
- describeUserScramCredentials(List<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe SASL/SCRAM credentials for the given users.
- describeUserScramCredentials(List<String>, DescribeUserScramCredentialsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Describe SASL/SCRAM credentials.
- describeUserScramCredentials(List<String>, DescribeUserScramCredentialsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- describeUserScramCredentials(List<String>, DescribeUserScramCredentialsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- DescribeUserScramCredentialsOptions - Class in org.apache.kafka.clients.admin
- DescribeUserScramCredentialsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeUserScramCredentialsOptions
- DescribeUserScramCredentialsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.describeUserScramCredentials()
call. - description() - Method in class org.apache.kafka.common.MetricName
- description() - Method in class org.apache.kafka.common.MetricNameTemplate
-
Get the description of the metric.
- description(String) - Method in class org.apache.kafka.clients.admin.DescribeTransactionsResult
-
Get the description of a specific transactional ID.
- description(String) - Method in class org.apache.kafka.clients.admin.DescribeUserScramCredentialsResult
- descriptions() - Method in class org.apache.kafka.clients.admin.DescribeLogDirsResult
-
Return a map from brokerId to future which can be used to check the information of partitions on each individual broker.
- deserialize(byte[]) - Method in interface org.apache.kafka.common.security.auth.KafkaPrincipalSerde
-
Deserialize a
KafkaPrincipal
from byte array. - deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.BooleanDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ByteArrayDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ByteBufferDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.BytesDeserializer
- deserialize(String, byte[]) - Method in interface org.apache.kafka.common.serialization.Deserializer
-
Deserialize a record value from a byte array into a value or object.
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.DoubleDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.FloatDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.IntegerDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ListDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.LongDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ShortDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.StringDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.UUIDDeserializer
- deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.VoidDeserializer
- deserialize(String, Headers, byte[]) - Method in interface org.apache.kafka.common.serialization.Deserializer
-
Deserialize a record value from a byte array into a value or object.
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.BooleanDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.ByteBufferDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in interface org.apache.kafka.common.serialization.Deserializer
-
Deserialize a record value from a
ByteBuffer
into a value or object. - deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.DoubleDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.FloatDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.IntegerDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.LongDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.ShortDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.StringDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.UUIDDeserializer
- deserialize(String, Headers, ByteBuffer) - Method in class org.apache.kafka.common.serialization.VoidDeserializer
- deserializer() - Method in interface org.apache.kafka.common.serialization.Serde
- deserializer() - Method in class org.apache.kafka.common.serialization.Serdes.WrapperSerde
- Deserializer<T> - Interface in org.apache.kafka.common.serialization
-
An interface for converting bytes to objects.
- Detecting Consumer Failures - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- Detecting Consumer Failures - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- DirectoryConfigProvider - Class in org.apache.kafka.common.config.provider
-
An implementation of
ConfigProvider
based on a directory of files. - DirectoryConfigProvider() - Constructor for class org.apache.kafka.common.config.provider.DirectoryConfigProvider
- disableTelemetry() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- disableTelemetry() - Method in class org.apache.kafka.clients.producer.MockProducer
- DisconnectException - Exception Class in org.apache.kafka.common.errors
-
Server disconnected before a request could be completed.
- DisconnectException() - Constructor for exception class org.apache.kafka.common.errors.DisconnectException
- DisconnectException(String) - Constructor for exception class org.apache.kafka.common.errors.DisconnectException
- DisconnectException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DisconnectException
- DisconnectException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.DisconnectException
- displayName - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- divergentOffsets() - Method in exception class org.apache.kafka.clients.consumer.LogTruncationException
-
Get the divergent offsets for the partitions which were truncated.
- documentation - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- documentation() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return the config documentation.
- documentationOf(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- Double() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Double
type. - DOUBLE - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- DOUBLE - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for numerical values within the Java Double range.
- DoubleDeserializer - Class in org.apache.kafka.common.serialization
- DoubleDeserializer() - Constructor for class org.apache.kafka.common.serialization.DoubleDeserializer
- DoubleSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.DoubleSerde
- DoubleSerializer - Class in org.apache.kafka.common.serialization
- DoubleSerializer() - Constructor for class org.apache.kafka.common.serialization.DoubleSerializer
- DuplicateBrokerRegistrationException - Exception Class in org.apache.kafka.common.errors
- DuplicateBrokerRegistrationException(String) - Constructor for exception class org.apache.kafka.common.errors.DuplicateBrokerRegistrationException
- DuplicateBrokerRegistrationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DuplicateBrokerRegistrationException
- DuplicateResourceException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown due to a request that illegally refers to the same resource twice (for example, trying to both create and delete the same SCRAM credential for a particular user in a single request).
- DuplicateResourceException(String) - Constructor for exception class org.apache.kafka.common.errors.DuplicateResourceException
-
Constructor
- DuplicateResourceException(String, String) - Constructor for exception class org.apache.kafka.common.errors.DuplicateResourceException
-
Constructor
- DuplicateResourceException(String, String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DuplicateResourceException
-
Constructor
- DuplicateResourceException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DuplicateResourceException
- DuplicateSequenceException - Exception Class in org.apache.kafka.common.errors
- DuplicateSequenceException(String) - Constructor for exception class org.apache.kafka.common.errors.DuplicateSequenceException
- DuplicateVoterException - Exception Class in org.apache.kafka.common.errors
- DuplicateVoterException(String) - Constructor for exception class org.apache.kafka.common.errors.DuplicateVoterException
- DuplicateVoterException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.DuplicateVoterException
- DYNAMIC_BROKER_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DYNAMIC_BROKER_LOGGER_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DYNAMIC_CLIENT_METRICS_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DYNAMIC_DEFAULT_BROKER_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DYNAMIC_GROUP_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- DYNAMIC_TOPIC_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
E
- EAGER - Enum constant in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
- earliest() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the earliest offset of a partition
- EARLIEST - Enum constant in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.
- earliestLocal() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the local log start offset.
- EarliestLocalSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.EarliestLocalSpec
- EarliestSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.EarliestSpec
- earlyStartListeners() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
-
Returns the configured early start listeners.
- ElectionNotNeededException - Exception Class in org.apache.kafka.common.errors
- ElectionNotNeededException(String) - Constructor for exception class org.apache.kafka.common.errors.ElectionNotNeededException
- ElectionNotNeededException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ElectionNotNeededException
- ElectionType - Enum Class in org.apache.kafka.common
- electLeaders(ElectionType, Set<TopicPartition>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Elect a replica as leader for topic partitions.
- electLeaders(ElectionType, Set<TopicPartition>, ElectLeadersOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Elect a replica as leader for the given
partitions
, or for all partitions if the argument topartitions
is null. - electLeaders(ElectionType, Set<TopicPartition>, ElectLeadersOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- electLeaders(ElectionType, Set<TopicPartition>, ElectLeadersOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ElectLeadersOptions - Class in org.apache.kafka.clients.admin
- ElectLeadersOptions() - Constructor for class org.apache.kafka.clients.admin.ElectLeadersOptions
- ElectLeadersResult - Class in org.apache.kafka.clients.admin
-
The result of
Admin.electLeaders(ElectionType, Set, ElectLeadersOptions)
The API of this class is evolving, seeAdmin
for details. - EligibleLeadersNotAvailableException - Exception Class in org.apache.kafka.common.errors
- EligibleLeadersNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.EligibleLeadersNotAvailableException
- EligibleLeadersNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.EligibleLeadersNotAvailableException
- elr() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the eligible leader replicas of the partition.
- embed(String, String, int, ConfigDef) - Method in class org.apache.kafka.common.config.ConfigDef
- empty() - Static method in class org.apache.kafka.clients.consumer.ConsumerRecords
- empty() - Static method in class org.apache.kafka.common.Cluster
-
Create an empty cluster instance with no nodes and no topic-partitions.
- empty() - Static method in class org.apache.kafka.common.security.auth.SaslExtensions
-
Creates an "empty" instance indicating no SASL extensions.
- EMPTY - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- EMPTY - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- EMPTY - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- EMPTY - Enum constant in enum class org.apache.kafka.common.GroupState
- EMPTY - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecords
- ENABLE_AUTO_COMMIT_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
enable.auto.commit
- ENABLE_IDEMPOTENCE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
enable.idempotence
- ENABLE_IDEMPOTENCE_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- ENABLE_METRICS_PUSH_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
enable.metrics.push
- ENABLE_METRICS_PUSH_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
enable.metrics.push
- ENABLE_METRICS_PUSH_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
enable.metrics.push
- ENABLE_METRICS_PUSH_DOC - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- ENABLE_METRICS_PUSH_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- ENABLE_METRICS_PUSH_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- endOffsets(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- endOffsets(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the end offsets for the given partitions.
- endOffsets(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- endOffsets(Collection<TopicPartition>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- endOffsets(Collection<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the end offsets for the given partitions.
- endOffsets(Collection<TopicPartition>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- Endpoint - Class in org.apache.kafka.common
-
Represents a broker endpoint.
- Endpoint(String, SecurityProtocol, String, int) - Constructor for class org.apache.kafka.common.Endpoint
- endpoints() - Method in class org.apache.kafka.clients.admin.QuorumInfo.Node
- endpoints() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
-
Returns endpoints for all listeners including the advertised host and port to which the listener is bound.
- EndpointType - Enum Class in org.apache.kafka.clients.admin
-
Identifies the endpoint type, as specified by KIP-919.
- enforceRebalance() - Method in interface org.apache.kafka.clients.consumer.Consumer
- enforceRebalance() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
- enforceRebalance() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- enforceRebalance(String) - Method in interface org.apache.kafka.clients.consumer.Consumer
- enforceRebalance(String) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Alert the consumer to trigger a new rebalance by rejoining the group.
- enforceRebalance(String) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.CaseInsensitiveValidString
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.CompositeValidator
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.LambdaValidator
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.ListSize
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.NonEmptyString
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.NonNullValidator
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.Range
- ensureValid(String, Object) - Method in interface org.apache.kafka.common.config.ConfigDef.Validator
-
Perform single configuration validation.
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.ValidList
- ensureValid(String, Object) - Method in class org.apache.kafka.common.config.ConfigDef.ValidString
- entities() - Method in class org.apache.kafka.clients.admin.DescribeClientQuotasResult
-
Returns a map from quota entity to a future which can be used to check the status of the operation.
- entity() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration
- entityType() - Method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
- entityType() - Method in interface org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntity
-
Returns the type of this entity.
- entries() - Method in class org.apache.kafka.clients.admin.Config
-
Configuration entries for a resource.
- entries() - Method in class org.apache.kafka.common.quota.ClientQuotaEntity
- entry() - Method in class org.apache.kafka.common.acl.AclBinding
- entryFilter() - Method in class org.apache.kafka.common.acl.AclBindingFilter
- EnvVarConfigProvider - Class in org.apache.kafka.common.config.provider
-
An implementation of
ConfigProvider
based on environment variables. - EnvVarConfigProvider() - Constructor for class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- EnvVarConfigProvider(Map<String, String>) - Constructor for class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- epochId(String) - Method in class org.apache.kafka.clients.admin.FenceProducersResult
-
Returns a future that provides the epoch ID generated while initializing the given transaction when the request completes.
- equals(Object) - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- equals(Object) - Method in class org.apache.kafka.clients.admin.AlterConfigOp
- equals(Object) - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.ClientMetricsResourceListing
- equals(Object) - Method in class org.apache.kafka.clients.admin.Config
- equals(Object) - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
- equals(Object) - Method in class org.apache.kafka.clients.admin.ConfigEntry
- equals(Object) - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
- equals(Object) - Method in class org.apache.kafka.clients.admin.DescribeProducersOptions
- equals(Object) - Method in class org.apache.kafka.clients.admin.FeatureMetadata
- equals(Object) - Method in class org.apache.kafka.clients.admin.FeatureUpdate
- equals(Object) - Method in class org.apache.kafka.clients.admin.FinalizedVersionRange
- equals(Object) - Method in class org.apache.kafka.clients.admin.GroupListing
- equals(Object) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
- equals(Object) - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
- equals(Object) - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
- equals(Object) - Method in class org.apache.kafka.clients.admin.MemberAssignment
- equals(Object) - Method in class org.apache.kafka.clients.admin.MemberDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.MemberToRemove
- equals(Object) - Method in class org.apache.kafka.clients.admin.NewTopic
- equals(Object) - Method in class org.apache.kafka.clients.admin.ProducerState
- equals(Object) - Method in class org.apache.kafka.clients.admin.QuorumInfo
- equals(Object) - Method in class org.apache.kafka.clients.admin.QuorumInfo.Node
- equals(Object) - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
- equals(Object) - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- equals(Object) - Method in class org.apache.kafka.clients.admin.RecordsToDelete
- equals(Object) - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
- equals(Object) - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.ShareMemberAssignment
- equals(Object) - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.SupportedVersionRange
- equals(Object) - Method in class org.apache.kafka.clients.admin.TopicDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.TransactionDescription
- equals(Object) - Method in class org.apache.kafka.clients.admin.TransactionListing
- equals(Object) - Method in class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- equals(Object) - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- equals(Object) - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
- equals(Object) - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- equals(Object) - Method in class org.apache.kafka.clients.consumer.SubscriptionPattern
- equals(Object) - Method in class org.apache.kafka.clients.producer.ProducerRecord
- equals(Object) - Method in class org.apache.kafka.common.acl.AccessControlEntry
- equals(Object) - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
- equals(Object) - Method in class org.apache.kafka.common.acl.AclBinding
- equals(Object) - Method in class org.apache.kafka.common.acl.AclBindingFilter
- equals(Object) - Method in class org.apache.kafka.common.Cluster
- equals(Object) - Method in class org.apache.kafka.common.ClusterResource
- equals(Object) - Method in class org.apache.kafka.common.config.AbstractConfig
- equals(Object) - Method in class org.apache.kafka.common.config.ConfigResource
- equals(Object) - Method in class org.apache.kafka.common.config.ConfigValue
- equals(Object) - Method in class org.apache.kafka.common.Endpoint
- equals(Object) - Method in class org.apache.kafka.common.MetricName
- equals(Object) - Method in class org.apache.kafka.common.MetricNameTemplate
- equals(Object) - Method in class org.apache.kafka.common.metrics.Quota
- equals(Object) - Method in class org.apache.kafka.common.Node
- equals(Object) - Method in class org.apache.kafka.common.PartitionInfo
- equals(Object) - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- equals(Object) - Method in class org.apache.kafka.common.quota.ClientQuotaEntity
- equals(Object) - Method in class org.apache.kafka.common.quota.ClientQuotaFilter
- equals(Object) - Method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
- equals(Object) - Method in class org.apache.kafka.common.resource.Resource
- equals(Object) - Method in class org.apache.kafka.common.resource.ResourcePattern
- equals(Object) - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- equals(Object) - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- equals(Object) - Method in class org.apache.kafka.common.security.auth.SaslExtensions
-
Implements equals using the reference comparison implementation from
Object.equals(Object)
. - equals(Object) - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- equals(Object) - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- equals(Object) - Method in class org.apache.kafka.common.TopicIdPartition
- equals(Object) - Method in class org.apache.kafka.common.TopicPartition
- equals(Object) - Method in class org.apache.kafka.common.TopicPartitionInfo
- equals(Object) - Method in class org.apache.kafka.common.TopicPartitionReplica
- equals(Object) - Method in class org.apache.kafka.common.Uuid
-
Returns true iff obj is another Uuid represented by the same two long values.
- equals(Object) - Method in class org.apache.kafka.server.authorizer.Action
- equals(Object) - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
- equals(Object) - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
- error() - Method in class org.apache.kafka.clients.admin.LogDirDescription
-
Returns `ApiException` if the log directory is offline or an error occurred, otherwise returns null.
- error(String, String) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
-
Set the error value for a specific extension key-value pair if validation has failed
- error(String, String, String) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Set the error values as per RFC 6749: The OAuth 2.0 Authorization Framework.
- error(String, String, String) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Set the error values as per RFC 7628: A Set of Simple Authentication and Security Layer (SASL) Mechanisms for OAuth.
- ERROR_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
ERROR
level designates error events that might still allow the broker to continue running. - errorCode() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Return the optional (but always non-empty if not null) error code as per RFC 6749: The OAuth 2.0 Authorization Framework.
- errorDescription() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Return the (potentially null) error description as per RFC 6749: The OAuth 2.0 Authorization Framework.
- errorMessages() - Method in class org.apache.kafka.common.config.ConfigValue
- errorNext(RuntimeException) - Method in class org.apache.kafka.clients.producer.MockProducer
-
Complete the earliest uncompleted call with the given error.
- errorOpenIDConfiguration() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Return the (potentially null) error openid-configuration value as per RFC 7628: A Set of Simple Authentication and Security Layer (SASL) Mechanisms for OAuth.
- errors() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsResult
-
Returns a future which yields just the errors which occurred.
- errors() - Method in class org.apache.kafka.clients.admin.ListGroupsResult
-
Returns a future which yields just the errors which occurred.
- errorScope() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Return the (potentially null) error scope value as per RFC 7628: A Set of Simple Authentication and Security Layer (SASL) Mechanisms for OAuth.
- errorStatus() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Return the (potentially null) error status value as per RFC 7628: A Set of Simple Authentication and Security Layer (SASL) Mechanisms for OAuth and the IANA OAuth Extensions Error Registry.
- errorUri() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Return the (potentially null) error URI as per RFC 6749: The OAuth 2.0 Authorization Framework.
- eventWindow() - Method in class org.apache.kafka.common.metrics.MetricConfig
- eventWindow(long) - Method in class org.apache.kafka.common.metrics.MetricConfig
- exception() - Method in class org.apache.kafka.clients.admin.DeleteAclsResult.FilterResult
-
Return an exception if the ACL delete was not successful or null if it was.
- exception() - Method in class org.apache.kafka.server.authorizer.AclCreateResult
-
Returns any exception during create.
- exception() - Method in class org.apache.kafka.server.authorizer.AclDeleteResult.AclBindingDeleteResult
-
Returns any exception that resulted in failure to delete ACL binding.
- exception() - Method in class org.apache.kafka.server.authorizer.AclDeleteResult
-
Returns any exception while attempting to match ACL filter to delete ACLs.
- EXCLUDE_CONFIG - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- EXCLUDE_INTERNAL_TOPICS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
exclude.internal.topics
- expireDelegationToken(byte[]) - Method in interface org.apache.kafka.clients.admin.Admin
-
Expire a Delegation Token.
- expireDelegationToken(byte[], ExpireDelegationTokenOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Expire a Delegation Token.
- expireDelegationToken(byte[], ExpireDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- expireDelegationToken(byte[], ExpireDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ExpireDelegationTokenOptions - Class in org.apache.kafka.clients.admin
- ExpireDelegationTokenOptions() - Constructor for class org.apache.kafka.clients.admin.ExpireDelegationTokenOptions
- ExpireDelegationTokenResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.expireDelegationToken(byte[], ExpireDelegationTokenOptions)
call. - expiryTimePeriodMs() - Method in class org.apache.kafka.clients.admin.ExpireDelegationTokenOptions
- expiryTimePeriodMs(long) - Method in class org.apache.kafka.clients.admin.ExpireDelegationTokenOptions
- expiryTimestamp() - Method in class org.apache.kafka.clients.admin.ExpireDelegationTokenResult
-
Returns a future which yields expiry timestamp
- expiryTimestamp() - Method in class org.apache.kafka.clients.admin.RenewDelegationTokenResult
-
Returns a future which yields expiry timestamp
- expiryTimestamp() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- exportMetrics(AuthorizableRequestContext, ClientTelemetryPayload) - Method in interface org.apache.kafka.server.telemetry.ClientTelemetryReceiver
-
Called by the broker when a client reports telemetry metrics.
- extensions() - Method in class org.apache.kafka.common.security.auth.SaslExtensionsCallback
-
Returns always non-null
SaslExtensions
consisting of the extension names and values that are sent by the client to the server in the initial client SASL authentication message. - extensions() - Method in class org.apache.kafka.common.security.scram.ScramExtensionsCallback
-
Returns map of the extension names and values that are sent by the client to the server in the initial client SCRAM authentication message.
- extensions(Map<String, String>) - Method in class org.apache.kafka.common.security.scram.ScramExtensionsCallback
-
Sets the SCRAM extensions on this callback.
- extensions(SaslExtensions) - Method in class org.apache.kafka.common.security.auth.SaslExtensionsCallback
-
Sets the SASL extensions on this callback.
F
- FATAL_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
FATAL
level designates a very severe error that will lead the Kafka broker to abort. - featureMetadata() - Method in class org.apache.kafka.clients.admin.DescribeFeaturesResult
- FeatureMetadata - Class in org.apache.kafka.clients.admin
-
Encapsulates details about finalized as well as supported features.
- FeatureUpdate - Class in org.apache.kafka.clients.admin
-
Encapsulates details about an update to a finalized feature.
- FeatureUpdate(short, FeatureUpdate.UpgradeType) - Constructor for class org.apache.kafka.clients.admin.FeatureUpdate
- FeatureUpdate.UpgradeType - Enum Class in org.apache.kafka.clients.admin
- FeatureUpdateFailedException - Exception Class in org.apache.kafka.common.errors
- FeatureUpdateFailedException(String) - Constructor for exception class org.apache.kafka.common.errors.FeatureUpdateFailedException
- FeatureUpdateFailedException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.FeatureUpdateFailedException
- FencedInstanceIdException - Exception Class in org.apache.kafka.common.errors
- FencedInstanceIdException(String) - Constructor for exception class org.apache.kafka.common.errors.FencedInstanceIdException
- FencedInstanceIdException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.FencedInstanceIdException
- FencedLeaderEpochException - Exception Class in org.apache.kafka.common.errors
-
The request contained a leader epoch which is smaller than that on the broker that received the request.
- FencedLeaderEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.FencedLeaderEpochException
- FencedLeaderEpochException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.FencedLeaderEpochException
- FencedMemberEpochException - Exception Class in org.apache.kafka.common.errors
- FencedMemberEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.FencedMemberEpochException
- fencedProducers() - Method in class org.apache.kafka.clients.admin.FenceProducersResult
-
Return a map from transactional ID to futures which can be used to check the status of individual fencings.
- FencedStateEpochException - Exception Class in org.apache.kafka.common.errors
-
Thrown when the share coordinator rejected the request because the share-group state epoch did not match.
- FencedStateEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.FencedStateEpochException
- fenceProducer() - Method in class org.apache.kafka.clients.producer.MockProducer
- fenceProducers(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Fence out all active producers that use any of the provided transactional IDs, with the default options.
- fenceProducers(Collection<String>, FenceProducersOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Fence out all active producers that use any of the provided transactional IDs.
- fenceProducers(Collection<String>, FenceProducersOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- fenceProducers(Collection<String>, FenceProducersOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- FenceProducersOptions - Class in org.apache.kafka.clients.admin
- FenceProducersOptions() - Constructor for class org.apache.kafka.clients.admin.FenceProducersOptions
- FenceProducersResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.fenceProducers(Collection)
call. - FETCH - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaType
- FETCH_MAX_BYTES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
fetch.max.bytes
- FETCH_MAX_WAIT_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
fetch.max.wait.ms
- FETCH_MIN_BYTES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
fetch.min.bytes
- FetchSessionIdNotFoundException - Exception Class in org.apache.kafka.common.errors
- FetchSessionIdNotFoundException() - Constructor for exception class org.apache.kafka.common.errors.FetchSessionIdNotFoundException
- FetchSessionIdNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.FetchSessionIdNotFoundException
- FetchSessionTopicIdException - Exception Class in org.apache.kafka.common.errors
- FetchSessionTopicIdException(String) - Constructor for exception class org.apache.kafka.common.errors.FetchSessionTopicIdException
- FILE_DELETE_DELAY_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- FILE_DELETE_DELAY_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- FileConfigProvider - Class in org.apache.kafka.common.config.provider
-
An implementation of
ConfigProvider
that represents a Properties file. - FileConfigProvider() - Constructor for class org.apache.kafka.common.config.provider.FileConfigProvider
- fillInStackTrace() - Method in exception class org.apache.kafka.common.errors.ApiException
- fillInStackTrace() - Method in exception class org.apache.kafka.common.metrics.QuotaViolationException
- filteredDuration() - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Returns the duration ms value being filtered.
- filteredProducerIds() - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Returns the set of producerIds that are being filtered or empty if none have been specified.
- filteredStates() - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Returns the set of states to be filtered or empty if no states have been specified.
- filterOnDuration(long) - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Filter only the transactions that are running longer than the specified duration.
- filterProducerIds(Collection<Long>) - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Filter only the transactions from producers in a specific set of producerIds.
- filterStates(Collection<TransactionState>) - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
-
Filter only the transactions that are in a specific set of states.
- finalizedFeatures() - Method in class org.apache.kafka.clients.admin.FeatureMetadata
-
Returns a map of finalized feature versions.
- finalizedFeaturesEpoch() - Method in class org.apache.kafka.clients.admin.FeatureMetadata
-
The epoch for the finalized features.
- FinalizedVersionRange - Class in org.apache.kafka.clients.admin
-
Represents a range of version levels supported by every broker in a cluster for some feature.
- FinalizedVersionRange(short, short) - Constructor for class org.apache.kafka.clients.admin.FinalizedVersionRange
-
Raises an exception unless the following condition is met:
minVersionLevel >= 1
andmaxVersionLevel >= 1
andmaxVersionLevel >= minVersionLevel
. - findIndefiniteField() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Returns a string describing an ANY or UNKNOWN field, or null if there is no such field.
- findIndefiniteField() - Method in class org.apache.kafka.common.acl.AclBindingFilter
-
Return a string describing an ANY or UNKNOWN field, or null if there is no such field.
- findIndefiniteField() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- Float() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Float
type. - FloatDeserializer - Class in org.apache.kafka.common.serialization
- FloatDeserializer() - Constructor for class org.apache.kafka.common.serialization.FloatDeserializer
- FloatSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.FloatSerde
- FloatSerializer - Class in org.apache.kafka.common.serialization
- FloatSerializer() - Constructor for class org.apache.kafka.common.serialization.FloatSerializer
- flush() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Invoking this method makes all buffered records immediately available to send (even if
linger.ms
is greater than 0) and blocks on the completion of the requests associated with these records. - flush() - Method in class org.apache.kafka.clients.producer.MockProducer
- flush() - Method in interface org.apache.kafka.clients.producer.Producer
- FLUSH_MESSAGES_INTERVAL_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- FLUSH_MESSAGES_INTERVAL_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- FLUSH_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- FLUSH_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- flushed() - Method in class org.apache.kafka.clients.producer.MockProducer
- flushException - Variable in class org.apache.kafka.clients.producer.MockProducer
- forBooleanValues(MetricName, MetricName) - Static method in class org.apache.kafka.common.metrics.stats.Frequencies
-
Create a Frequencies instance with metrics for the frequency of a boolean sensor that records 0.0 for false and 1.0 for true.
- forConfig(String) - Static method in enum class org.apache.kafka.common.config.SslClientAuth
- forGroupId(String) - Static method in exception class org.apache.kafka.common.errors.GroupAuthorizationException
- forId(byte) - Static method in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
- forId(byte) - Static method in enum class org.apache.kafka.clients.consumer.AcknowledgeType
- forId(byte) - Static method in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
- forId(byte) - Static method in enum class org.apache.kafka.common.config.ConfigResource.Type
- forId(byte) - Static method in enum class org.apache.kafka.common.IsolationLevel
- forId(int) - Static method in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- forId(short) - Static method in enum class org.apache.kafka.common.security.auth.SecurityProtocol
- forName(String) - Static method in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
-
Case insensitive lookup by protocol name
- forName(String) - Static method in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
Case insensitive lookup by protocol name
- forTimestamp(long) - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the earliest offset whose timestamp is greater than or equal to the given timestamp in the corresponding partition
- ForwardingAdmin - Class in org.apache.kafka.clients.admin
-
ForwardingAdmin
is the default value offorwarding.admin.class
in MirrorMaker. - ForwardingAdmin(Map<String, Object>) - Constructor for class org.apache.kafka.clients.admin.ForwardingAdmin
- Frequencies - Class in org.apache.kafka.common.metrics.stats
-
A
CompoundStat
that represents a normalized distribution with aFrequency
metric for each bucketed value. - Frequencies(int, double, double, Frequency...) - Constructor for class org.apache.kafka.common.metrics.stats.Frequencies
-
Create a Frequencies that captures the values in the specified range into the given number of buckets, where the buckets are centered around the minimum, maximum, and intermediate values.
- frequency(MetricConfig, long, double) - Method in class org.apache.kafka.common.metrics.stats.Frequencies
-
Return the computed frequency describing the number of occurrences of the values in the bucket for the given center point, relative to the total number of occurrences in the samples.
- Frequency - Class in org.apache.kafka.common.metrics.stats
-
Definition of a frequency metric used in a
Frequencies
compound statistic. - Frequency(MetricName, double) - Constructor for class org.apache.kafka.common.metrics.stats.Frequency
-
Create an instance with the given name and center point value.
- fromBin(int) - Method in interface org.apache.kafka.common.metrics.stats.Histogram.BinScheme
-
Determine the value at the upper range of the specified bin.
- fromBin(int) - Method in class org.apache.kafka.common.metrics.stats.Histogram.ConstantBinScheme
- fromBin(int) - Method in class org.apache.kafka.common.metrics.stats.Histogram.LinearBinScheme
- fromCode(byte) - Static method in enum class org.apache.kafka.common.acl.AclOperation
-
Return the AclOperation with the provided code or `AclOperation.UNKNOWN` if one cannot be found.
- fromCode(byte) - Static method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Return the AclPermissionType with the provided code or `AclPermissionType.UNKNOWN` if one cannot be found.
- fromCode(byte) - Static method in enum class org.apache.kafka.common.resource.PatternType
-
Return the PatternType with the provided code or
PatternType.UNKNOWN
if one cannot be found. - fromCode(byte) - Static method in enum class org.apache.kafka.common.resource.ResourceType
-
Return the ResourceType with the provided code or `ResourceType.UNKNOWN` if one cannot be found.
- fromCode(int) - Static method in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- fromId(byte) - Static method in enum class org.apache.kafka.clients.admin.EndpointType
- fromMechanismName(String) - Static method in enum class org.apache.kafka.clients.admin.ScramMechanism
- fromRecord(String, KafkaPrincipal, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long) - Static method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- fromString(String) - Static method in enum class org.apache.kafka.common.acl.AclOperation
-
Parse the given string as an ACL operation.
- fromString(String) - Static method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Parse the given string as an ACL permission.
- fromString(String) - Static method in enum class org.apache.kafka.common.resource.PatternType
-
Return the PatternType with the provided name or
PatternType.UNKNOWN
if one cannot be found. - fromString(String) - Static method in enum class org.apache.kafka.common.resource.ResourceType
-
Parse the given string as an ACL resource type.
- fromString(String) - Static method in class org.apache.kafka.common.Uuid
-
Creates a UUID based on a base64 string encoding used in the toString() method.
- fromType(byte) - Static method in enum class org.apache.kafka.clients.admin.ScramMechanism
G
- Gauge<T> - Interface in org.apache.kafka.common.metrics
-
A gauge metric is an instantaneous reading of a particular value.
- generationId() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- generationId() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- get() - Method in class org.apache.kafka.common.KafkaFuture
-
Waits if necessary for this future to complete, and then returns its result.
- get(long, TimeUnit) - Method in class org.apache.kafka.common.KafkaFuture
-
Waits if necessary for at most the given time for this future to complete, and then returns its result, if available.
- get(String) - Method in class org.apache.kafka.clients.admin.Config
-
Get the configuration entry with the provided name or null if there isn't one.
- get(String) - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
-
Retrieves the data at the given path.
- get(String) - Method in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
-
Retrieves the data contained in regular files in the directory given by
path
. - get(String) - Method in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- get(String) - Method in class org.apache.kafka.common.config.provider.FileConfigProvider
-
Retrieves the data at the given Properties file.
- get(String, Set<String>) - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
-
Retrieves the data with the given keys at the given path.
- get(String, Set<String>) - Method in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
-
Retrieves the data contained in the regular files named by
keys
in the directory given bypath
. - get(String, Set<String>) - Method in class org.apache.kafka.common.config.provider.EnvVarConfigProvider
- get(String, Set<String>) - Method in class org.apache.kafka.common.config.provider.FileConfigProvider
-
Retrieves the data with the given keys at the given Properties file.
- getAssignorInstances(List<String>, Map<String, Object>) - Static method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Get a list of configured instances of
ConsumerPartitionAssignor
based on the class names/types specified byConsumerConfig.PARTITION_ASSIGNMENT_STRATEGY_CONFIG
- getBoolean(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getClass(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getConfiguredInstance(String, Class<T>) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get a configured instance of the give class specified by the given configuration key.
- getConfiguredInstance(String, Class<T>, Map<String, Object>) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get a configured instance of the give class specified by the given configuration key.
- getConfiguredInstances(String, Class<T>) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get a list of configured instances of the given class specified by the given configuration key.
- getConfiguredInstances(String, Class<T>, Map<String, Object>) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get a list of configured instances of the given class specified by the given configuration key.
- getConfiguredInstances(List<String>, Class<T>, Map<String, Object>) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get a list of configured instances of the given class specified by the given configuration key.
- getCurrentReplicaLogDir() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
-
The current log directory of the replica of this partition on the given broker.
- getCurrentReplicaOffsetLag() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
-
Defined as max(HW of partition - LEO of the replica, 0).
- getDouble(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getFutureReplicaLogDir() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
-
The future log directory of the replica of this partition on the given broker.
- getFutureReplicaOffsetLag() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
-
The LEO of the replica - LEO of the future log of this replica in the destination log directory.
- getInnerSerializer() - Method in class org.apache.kafka.common.serialization.ListSerializer
- getInt(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getLeastSignificantBits() - Method in class org.apache.kafka.common.Uuid
-
Returns the least significant bits of the UUID's 128 value.
- getList(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getLong(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getMostSignificantBits() - Method in class org.apache.kafka.common.Uuid
-
Returns the most significant bits of the UUID's 128 value.
- getName() - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- getNow(T) - Method in class org.apache.kafka.common.KafkaFuture
-
Returns the result value (or throws any encountered exception) if completed, else returns the given valueIfAbsent.
- getPassword(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getPrincipalType() - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- getProvider() - Method in interface org.apache.kafka.common.security.auth.SecurityProviderCreator
-
Generate the security provider configured
- getSensor(String) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get the sensor with the given name if it exists
- getShort(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- getString(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- group - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- group() - Method in class org.apache.kafka.common.MetricName
- group() - Method in class org.apache.kafka.common.MetricNameTemplate
-
Get the name of the group.
- GROUP - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- GROUP - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
A consumer group.
- GROUP_ID_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
group.id
- GROUP_INSTANCE_ID_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
group.instance.id
- GROUP_PROTOCOL_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
group.protocol
- GROUP_PROTOCOL_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- GROUP_REMOTE_ASSIGNOR_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
group.remote.assignor
- GROUP_REMOTE_ASSIGNOR_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- groupAssignment() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupAssignment
- GroupAssignment(Map<String, ConsumerPartitionAssignor.Assignment>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupAssignment
- GroupAuthorizationException - Exception Class in org.apache.kafka.common.errors
- GroupAuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.GroupAuthorizationException
- GroupAuthorizationException(String, String) - Constructor for exception class org.apache.kafka.common.errors.GroupAuthorizationException
- groupEpoch() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The epoch of the consumer group.
- groupId() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
The id of the classic group.
- groupId() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The id of the consumer group.
- groupId() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Consumer Group Id
- groupId() - Method in class org.apache.kafka.clients.admin.GroupListing
-
The group Id.
- groupId() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
-
The id of the share group.
- groupId() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- groupId() - Method in exception class org.apache.kafka.common.errors.GroupAuthorizationException
-
Return the group ID that failed authorization.
- GroupIdNotFoundException - Exception Class in org.apache.kafka.common.errors
- GroupIdNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.GroupIdNotFoundException
- groupInstanceId() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The instance id of the group member.
- groupInstanceId() - Method in class org.apache.kafka.clients.admin.MemberToRemove
- groupInstanceId() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- groupInstanceId() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- GroupListing - Class in org.apache.kafka.clients.admin
-
A listing of a group in the cluster.
- GroupListing(String, Optional<GroupType>, String, Optional<GroupState>) - Constructor for class org.apache.kafka.clients.admin.GroupListing
-
Create an instance with the specified parameters.
- GroupMaxSizeReachedException - Exception Class in org.apache.kafka.common.errors
-
Indicates that a consumer group is already at its configured maximum capacity and cannot accommodate more members
- GroupMaxSizeReachedException(String) - Constructor for exception class org.apache.kafka.common.errors.GroupMaxSizeReachedException
- groupMetadata() - Method in interface org.apache.kafka.clients.consumer.Consumer
- groupMetadata() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Return the current group metadata associated with this consumer.
- groupMetadata() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- GroupNotEmptyException - Exception Class in org.apache.kafka.common.errors
- GroupNotEmptyException(String) - Constructor for exception class org.apache.kafka.common.errors.GroupNotEmptyException
- GroupProtocol - Enum Class in org.apache.kafka.clients.consumer
- groups() - Method in class org.apache.kafka.common.config.ConfigDef
-
Get the groups for the configuration
- groupState() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The group state, or UNKNOWN if the state is too new for us to parse.
- groupState() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Group state
- groupState() - Method in class org.apache.kafka.clients.admin.GroupListing
-
The group state.
- groupState() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
-
The group state, or UNKNOWN if the state is too new for us to parse.
- GroupState - Enum Class in org.apache.kafka.common
-
The group state.
- groupStates() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
Returns the list of group states that are requested or empty if no states have been specified.
- groupStates() - Method in class org.apache.kafka.clients.admin.ListGroupsOptions
-
Returns the list of group states that are requested or empty if no states have been specified.
- groupStatesForType(GroupType) - Static method in enum class org.apache.kafka.common.GroupState
- GroupSubscribedToTopicException - Exception Class in org.apache.kafka.common.errors
- GroupSubscribedToTopicException(String) - Constructor for exception class org.apache.kafka.common.errors.GroupSubscribedToTopicException
- groupSubscription() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupSubscription
- GroupSubscription(Map<String, ConsumerPartitionAssignor.Subscription>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupSubscription
- GroupType - Enum Class in org.apache.kafka.common
- GSSAPI_MECHANISM - Static variable in class org.apache.kafka.common.config.SaslConfigs
H
- handle(Callback[]) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- handle(Callback[]) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler
- hasDefault() - Method in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- hasExpired() - Method in class org.apache.kafka.common.metrics.Sensor
-
Return true if the Sensor is eligible for removal due to inactivity.
- hashCode() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- hashCode() - Method in class org.apache.kafka.clients.admin.AlterConfigOp
- hashCode() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.ClientMetricsResourceListing
- hashCode() - Method in class org.apache.kafka.clients.admin.Config
- hashCode() - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
- hashCode() - Method in class org.apache.kafka.clients.admin.ConfigEntry
- hashCode() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
- hashCode() - Method in class org.apache.kafka.clients.admin.DescribeProducersOptions
- hashCode() - Method in class org.apache.kafka.clients.admin.FeatureMetadata
- hashCode() - Method in class org.apache.kafka.clients.admin.FeatureUpdate
- hashCode() - Method in class org.apache.kafka.clients.admin.FinalizedVersionRange
- hashCode() - Method in class org.apache.kafka.clients.admin.GroupListing
- hashCode() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
- hashCode() - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
- hashCode() - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
- hashCode() - Method in class org.apache.kafka.clients.admin.MemberAssignment
- hashCode() - Method in class org.apache.kafka.clients.admin.MemberDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.MemberToRemove
- hashCode() - Method in class org.apache.kafka.clients.admin.NewTopic
- hashCode() - Method in class org.apache.kafka.clients.admin.ProducerState
- hashCode() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- hashCode() - Method in class org.apache.kafka.clients.admin.QuorumInfo.Node
- hashCode() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
- hashCode() - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- hashCode() - Method in class org.apache.kafka.clients.admin.RecordsToDelete
- hashCode() - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
- hashCode() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.ShareMemberAssignment
- hashCode() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.SupportedVersionRange
- hashCode() - Method in class org.apache.kafka.clients.admin.TopicDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- hashCode() - Method in class org.apache.kafka.clients.admin.TransactionListing
- hashCode() - Method in class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- hashCode() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- hashCode() - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
- hashCode() - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- hashCode() - Method in class org.apache.kafka.clients.consumer.SubscriptionPattern
- hashCode() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- hashCode() - Method in class org.apache.kafka.common.acl.AccessControlEntry
- hashCode() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
- hashCode() - Method in class org.apache.kafka.common.acl.AclBinding
- hashCode() - Method in class org.apache.kafka.common.acl.AclBindingFilter
- hashCode() - Method in class org.apache.kafka.common.Cluster
- hashCode() - Method in class org.apache.kafka.common.ClusterResource
- hashCode() - Method in class org.apache.kafka.common.config.AbstractConfig
- hashCode() - Method in class org.apache.kafka.common.config.ConfigResource
- hashCode() - Method in class org.apache.kafka.common.config.ConfigValue
- hashCode() - Method in class org.apache.kafka.common.Endpoint
- hashCode() - Method in class org.apache.kafka.common.MetricName
- hashCode() - Method in class org.apache.kafka.common.MetricNameTemplate
- hashCode() - Method in class org.apache.kafka.common.metrics.Quota
- hashCode() - Method in class org.apache.kafka.common.Node
- hashCode() - Method in class org.apache.kafka.common.PartitionInfo
- hashCode() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- hashCode() - Method in class org.apache.kafka.common.quota.ClientQuotaEntity
- hashCode() - Method in class org.apache.kafka.common.quota.ClientQuotaFilter
- hashCode() - Method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
- hashCode() - Method in class org.apache.kafka.common.resource.Resource
- hashCode() - Method in class org.apache.kafka.common.resource.ResourcePattern
- hashCode() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- hashCode() - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- hashCode() - Method in class org.apache.kafka.common.security.auth.SaslExtensions
-
Implements
hashCode
using the native implementation fromObject.hashCode()
. - hashCode() - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- hashCode() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- hashCode() - Method in class org.apache.kafka.common.TopicIdPartition
- hashCode() - Method in class org.apache.kafka.common.TopicPartition
- hashCode() - Method in class org.apache.kafka.common.TopicPartitionInfo
- hashCode() - Method in class org.apache.kafka.common.TopicPartitionReplica
- hashCode() - Method in class org.apache.kafka.common.Uuid
-
Returns a hash code for this UUID
- hashCode() - Method in class org.apache.kafka.server.authorizer.Action
- hashCode() - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
- hashCode() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
- hasMetrics() - Method in class org.apache.kafka.common.metrics.Sensor
-
Return if metrics were registered with this sensor.
- hasOffset() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
Indicates whether the record metadata includes the offset.
- hasRack() - Method in class org.apache.kafka.common.Node
-
True if this node has a defined rack
- hasTimestamp() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
Indicates whether the record metadata includes the timestamp.
- Header - Interface in org.apache.kafka.common.header
- headers() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The headers (never null)
- headers() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- headers() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- headers(String) - Method in interface org.apache.kafka.common.header.Headers
-
Returns all headers for the given key, in the order they were added in, if present.
- Headers - Interface in org.apache.kafka.common.header
- HEARTBEAT_INTERVAL_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
heartbeat.interval.ms
- HIGH - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Importance
- highWatermark() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- Histogram - Class in org.apache.kafka.common.metrics.stats
- Histogram(Histogram.BinScheme) - Constructor for class org.apache.kafka.common.metrics.stats.Histogram
- Histogram.BinScheme - Interface in org.apache.kafka.common.metrics.stats
-
An algorithm for determining the bin in which a value is to be placed as well as calculating the upper end of each bin.
- Histogram.ConstantBinScheme - Class in org.apache.kafka.common.metrics.stats
-
A scheme for calculating the bins where the width of each bin is a constant determined by the range of values and the number of bins.
- Histogram.LinearBinScheme - Class in org.apache.kafka.common.metrics.stats
-
A scheme for calculating the bins where the width of each bin is one more than the previous bin, and therefore the bin widths are increasing at a linear rate.
- history() - Method in class org.apache.kafka.clients.producer.MockProducer
-
Get the list of sent records since the last call to
MockProducer.clear()
- hmac() - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- hmacAsBase64String() - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- host() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The host where the group member is running.
- host() - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- host() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
-
The host where the group member is running.
- host() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Return the host or `*` for all hosts.
- host() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Return the host or null.
- host() - Method in class org.apache.kafka.common.Endpoint
-
Returns advertised host name of this endpoint.
- host() - Method in class org.apache.kafka.common.Node
-
The host name for this node
I
- id - Variable in enum class org.apache.kafka.clients.consumer.AcknowledgeType
- id - Variable in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
-
the permanent and immutable id of an API--this can't change ever
- id - Variable in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
The permanent and immutable id of a security protocol -- this can't change, and must match kafka.cluster.SecurityProtocol
- id() - Method in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
- id() - Method in enum class org.apache.kafka.clients.admin.EndpointType
- id() - Method in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
- id() - Method in enum class org.apache.kafka.common.config.ConfigResource.Type
- id() - Method in enum class org.apache.kafka.common.IsolationLevel
- id() - Method in class org.apache.kafka.common.Node
-
The node id of this node
- IDEMPOTENT_WRITE - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
IDEMPOTENT_WRITE operation.
- idString() - Method in class org.apache.kafka.common.Node
-
String representation of the node id.
- ignore(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- ignoredExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- IllegalGenerationException - Exception Class in org.apache.kafka.common.errors
- IllegalGenerationException() - Constructor for exception class org.apache.kafka.common.errors.IllegalGenerationException
- IllegalGenerationException(String) - Constructor for exception class org.apache.kafka.common.errors.IllegalGenerationException
- IllegalGenerationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.IllegalGenerationException
- IllegalGenerationException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.IllegalGenerationException
- IllegalSaslStateException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates unexpected requests prior to SASL authentication.
- IllegalSaslStateException(String) - Constructor for exception class org.apache.kafka.common.errors.IllegalSaslStateException
- IllegalSaslStateException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.IllegalSaslStateException
- Impact on ConsumerRebalanceListener - Search tag in class org.apache.kafka.clients.consumer.StickyAssignor
- Section
- importance - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- in(String...) - Static method in class org.apache.kafka.common.config.ConfigDef.CaseInsensitiveValidString
- in(String...) - Static method in class org.apache.kafka.common.config.ConfigDef.ValidList
- in(String...) - Static method in class org.apache.kafka.common.config.ConfigDef.ValidString
- INCLUDE_CONFIG - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeClassicGroupsOptions
- includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
-
Specify if authorized operations should be included in the response.
- includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsOptions
- includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeShareGroupsOptions
- includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
- includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeClassicGroupsOptions
- includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
- includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsOptions
- includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeShareGroupsOptions
- includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
- includeDocumentation() - Method in class org.apache.kafka.clients.admin.DescribeConfigsOptions
-
Return true if config documentation should be returned in the response.
- includeDocumentation(boolean) - Method in class org.apache.kafka.clients.admin.DescribeConfigsOptions
-
Set to true if config documentation should be returned in the response.
- includeFencedBrokers() - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
-
Specify if fenced brokers should be included in the response.
- includeFencedBrokers(boolean) - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
- includeSynonyms() - Method in class org.apache.kafka.clients.admin.DescribeConfigsOptions
-
Return true if synonym configs should be returned in the response.
- includeSynonyms(boolean) - Method in class org.apache.kafka.clients.admin.DescribeConfigsOptions
-
Set to true if synonym configs should be returned in the response.
- InconsistentClusterIdException - Exception Class in org.apache.kafka.common.errors
- InconsistentClusterIdException(String) - Constructor for exception class org.apache.kafka.common.errors.InconsistentClusterIdException
- InconsistentClusterIdException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InconsistentClusterIdException
- InconsistentGroupProtocolException - Exception Class in org.apache.kafka.common.errors
- InconsistentGroupProtocolException(String) - Constructor for exception class org.apache.kafka.common.errors.InconsistentGroupProtocolException
- InconsistentGroupProtocolException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InconsistentGroupProtocolException
- InconsistentTopicIdException - Exception Class in org.apache.kafka.common.errors
- InconsistentTopicIdException(String) - Constructor for exception class org.apache.kafka.common.errors.InconsistentTopicIdException
- InconsistentVoterSetException - Exception Class in org.apache.kafka.common.errors
- InconsistentVoterSetException(String) - Constructor for exception class org.apache.kafka.common.errors.InconsistentVoterSetException
- InconsistentVoterSetException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InconsistentVoterSetException
- increaseTo(int) - Static method in class org.apache.kafka.clients.admin.NewPartitions
-
Increase the partition count for a topic to the given
totalCount
. - increaseTo(int, List<List<Integer>>) - Static method in class org.apache.kafka.clients.admin.NewPartitions
-
Increase the partition count for a topic to the given
totalCount
assigning the new partitions according to the givennewAssignments
. - incrementalAlterConfigs(Map<ConfigResource, Collection<AlterConfigOp>>) - Method in interface org.apache.kafka.clients.admin.Admin
-
Incrementally updates the configuration for the specified resources with default options.
- incrementalAlterConfigs(Map<ConfigResource, Collection<AlterConfigOp>>, AlterConfigsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Incrementally update the configuration for the specified resources.
- incrementalAlterConfigs(Map<ConfigResource, Collection<AlterConfigOp>>, AlterConfigsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- incrementalAlterConfigs(Map<ConfigResource, Collection<AlterConfigOp>>, AlterConfigsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- INDEX_INTERVAL_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- INDEX_INTERVAL_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- IneligibleReplicaException - Exception Class in org.apache.kafka.common.errors
- IneligibleReplicaException(String) - Constructor for exception class org.apache.kafka.common.errors.IneligibleReplicaException
- INFO - Enum constant in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- INFO_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
INFO
level designates informational messages that highlight normal Kafka events at a coarse-grained level - inGroupStates(Set<GroupState>) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
If groupStates is set, only groups in these states will be returned by listGroups().
- inGroupStates(Set<GroupState>) - Method in class org.apache.kafka.clients.admin.ListGroupsOptions
-
If groupStates is set, only groups in these states will be returned by listGroups().
- init(List<KafkaMetric>) - Method in class org.apache.kafka.common.metrics.JmxReporter
- init(List<KafkaMetric>) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
-
This is called when the reporter is first registered to initially register all existing metrics
- init(AccessTokenRetriever, AccessTokenValidator) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- init(CloseableVerificationKeyResolver, AccessTokenValidator) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler
- initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) - Method in class org.apache.kafka.common.security.plain.PlainLoginModule
- initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) - Method in class org.apache.kafka.common.security.scram.ScramLoginModule
- initTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
- initTransactions() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Needs to be called before any other methods when the
transactional.id
is set in the configuration. - initTransactions() - Method in class org.apache.kafka.clients.producer.MockProducer
- initTransactions() - Method in interface org.apache.kafka.clients.producer.Producer
- injectTimeoutException(int) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- injectTimeoutException(int) - Method in class org.apache.kafka.clients.producer.MockProducer
- innerDeserializer() - Method in class org.apache.kafka.common.serialization.ListDeserializer
- inputExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- INSTANCE - Static variable in exception class org.apache.kafka.common.errors.CoordinatorNotAvailableException
- INSTANCE - Static variable in exception class org.apache.kafka.common.errors.DisconnectException
- inStates(Set<ConsumerGroupState>) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
Deprecated.Since 4.0. Use
ListConsumerGroupsOptions.inGroupStates(Set)
instead. - inSyncReplicas() - Method in class org.apache.kafka.common.PartitionInfo
-
The subset of the replicas that are in sync, that is caught-up to the leader and ready to take over as leader if the leader should fail
- INT - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- INT - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for numerical values within the Java Integer range.
- Integer() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Integer
type. - IntegerDeserializer - Class in org.apache.kafka.common.serialization
- IntegerDeserializer() - Constructor for class org.apache.kafka.common.serialization.IntegerDeserializer
- IntegerSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.IntegerSerde
- IntegerSerializer - Class in org.apache.kafka.common.serialization
- IntegerSerializer() - Constructor for class org.apache.kafka.common.serialization.IntegerSerializer
- interBrokerEndpoint() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
-
Returns the inter-broker endpoint.
- INTERCEPTOR_CLASSES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
interceptor.classes
- INTERCEPTOR_CLASSES_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
interceptor.classes
- INTERCEPTOR_CLASSES_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- INTERCEPTOR_CLASSES_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- InterfaceStability - Class in org.apache.kafka.common.annotation
-
Annotation to inform users of how much to rely on a particular package, class or method not changing over time.
- InterfaceStability() - Constructor for class org.apache.kafka.common.annotation.InterfaceStability
- InterfaceStability.Evolving - Annotation Interface in org.apache.kafka.common.annotation
-
Compatibility may be broken at minor release (i.e.
- InterfaceStability.Stable - Annotation Interface in org.apache.kafka.common.annotation
-
Compatibility is maintained in major, minor and patch releases with one exception: compatibility may be broken in a major release (i.e.
- InterfaceStability.Unstable - Annotation Interface in org.apache.kafka.common.annotation
-
No guarantee is provided as to reliability or stability across any level of release granularity.
- internalConfig - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- internalTopics() - Method in class org.apache.kafka.common.Cluster
- InterruptException - Exception Class in org.apache.kafka.common.errors
-
An unchecked wrapper for InterruptedException
- InterruptException(InterruptedException) - Constructor for exception class org.apache.kafka.common.errors.InterruptException
- InterruptException(String) - Constructor for exception class org.apache.kafka.common.errors.InterruptException
- InterruptException(String, InterruptedException) - Constructor for exception class org.apache.kafka.common.errors.InterruptException
- InvalidCommitOffsetSizeException - Exception Class in org.apache.kafka.common.errors
- InvalidCommitOffsetSizeException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidCommitOffsetSizeException
- InvalidCommitOffsetSizeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidCommitOffsetSizeException
- InvalidConfigurationException - Exception Class in org.apache.kafka.common.errors
- InvalidConfigurationException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidConfigurationException
- InvalidConfigurationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidConfigurationException
- invalidExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- InvalidFetchSessionEpochException - Exception Class in org.apache.kafka.common.errors
- InvalidFetchSessionEpochException() - Constructor for exception class org.apache.kafka.common.errors.InvalidFetchSessionEpochException
- InvalidFetchSessionEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidFetchSessionEpochException
- InvalidFetchSizeException - Exception Class in org.apache.kafka.common.errors
- InvalidFetchSizeException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidFetchSizeException
- InvalidFetchSizeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidFetchSizeException
- InvalidGroupIdException - Exception Class in org.apache.kafka.common.errors
- InvalidGroupIdException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidGroupIdException
- InvalidGroupIdException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidGroupIdException
- InvalidMetadataException - Exception Class in org.apache.kafka.common.errors
-
An exception that may indicate the client's metadata is out of date
- InvalidOffsetException - Exception Class in org.apache.kafka.clients.consumer
-
Thrown when the offset for a set of partitions is invalid (either undefined or out of range), and no reset policy has been configured.
- InvalidOffsetException - Exception Class in org.apache.kafka.common.errors
-
Thrown when the offset for a set of partitions is invalid (either undefined or out of range), and no reset policy has been configured.
- InvalidOffsetException(String) - Constructor for exception class org.apache.kafka.clients.consumer.InvalidOffsetException
- InvalidOffsetException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidOffsetException
- InvalidOffsetException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidOffsetException
- InvalidPartitionsException - Exception Class in org.apache.kafka.common.errors
- InvalidPartitionsException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidPartitionsException
- InvalidPartitionsException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidPartitionsException
- InvalidPidMappingException - Exception Class in org.apache.kafka.common.errors
- InvalidPidMappingException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidPidMappingException
- InvalidPrincipalTypeException - Exception Class in org.apache.kafka.common.errors
- InvalidPrincipalTypeException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidPrincipalTypeException
- InvalidPrincipalTypeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidPrincipalTypeException
- InvalidProducerEpochException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that the produce request sent to the partition leader contains a non-matching producer epoch.
- InvalidProducerEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidProducerEpochException
- InvalidRecordException - Exception Class in org.apache.kafka.common
- InvalidRecordException(String) - Constructor for exception class org.apache.kafka.common.InvalidRecordException
- InvalidRecordException(String, Throwable) - Constructor for exception class org.apache.kafka.common.InvalidRecordException
- InvalidRecordStateException - Exception Class in org.apache.kafka.common.errors
-
Thrown when the acknowledgement of delivery of a record could not be completed because the record state is invalid.
- InvalidRecordStateException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidRecordStateException
- InvalidRegistrationException - Exception Class in org.apache.kafka.common.errors
-
Thrown when a broker registration request is considered invalid by the controller.
- InvalidRegistrationException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidRegistrationException
- InvalidRegularExpression - Exception Class in org.apache.kafka.common.errors
-
Thrown when a regular expression received in a request is not valid.
- InvalidRegularExpression(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidRegularExpression
- InvalidReplicaAssignmentException - Exception Class in org.apache.kafka.common.errors
- InvalidReplicaAssignmentException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidReplicaAssignmentException
- InvalidReplicaAssignmentException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidReplicaAssignmentException
- InvalidReplicationFactorException - Exception Class in org.apache.kafka.common.errors
- InvalidReplicationFactorException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidReplicationFactorException
- InvalidReplicationFactorException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidReplicationFactorException
- InvalidRequestException - Exception Class in org.apache.kafka.common.errors
-
Thrown when a request breaks basic wire protocol rules.
- InvalidRequestException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidRequestException
- InvalidRequestException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidRequestException
- InvalidRequiredAcksException - Exception Class in org.apache.kafka.common.errors
- InvalidRequiredAcksException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidRequiredAcksException
- InvalidSessionTimeoutException - Exception Class in org.apache.kafka.common.errors
- InvalidSessionTimeoutException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidSessionTimeoutException
- InvalidSessionTimeoutException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidSessionTimeoutException
- InvalidShareSessionEpochException - Exception Class in org.apache.kafka.common.errors
-
Thrown when the share session epoch is invalid.
- InvalidShareSessionEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidShareSessionEpochException
- InvalidTimestampException - Exception Class in org.apache.kafka.common.errors
-
Indicate the timestamp of a record is invalid.
- InvalidTimestampException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidTimestampException
- InvalidTimestampException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidTimestampException
- InvalidTopicException - Exception Class in org.apache.kafka.common.errors
-
The client has attempted to perform an operation on an invalid topic.
- InvalidTopicException() - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTopicException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTopicException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTopicException(String, Set<String>) - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTopicException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTopicException(Set<String>) - Constructor for exception class org.apache.kafka.common.errors.InvalidTopicException
- invalidTopics() - Method in class org.apache.kafka.common.Cluster
- invalidTopics() - Method in exception class org.apache.kafka.common.errors.InvalidTopicException
- InvalidTxnStateException - Exception Class in org.apache.kafka.common.errors
- InvalidTxnStateException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidTxnStateException
- InvalidTxnTimeoutException - Exception Class in org.apache.kafka.common.errors
-
The transaction coordinator returns this error code if the timeout received via the InitProducerIdRequest is larger than the `transaction.max.timeout.ms` config value.
- InvalidTxnTimeoutException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidTxnTimeoutException
- InvalidTxnTimeoutException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidTxnTimeoutException
- InvalidUpdateVersionException - Exception Class in org.apache.kafka.common.errors
- InvalidUpdateVersionException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidUpdateVersionException
- InvalidUpdateVersionException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidUpdateVersionException
- InvalidVoterKeyException - Exception Class in org.apache.kafka.common.errors
- InvalidVoterKeyException(String) - Constructor for exception class org.apache.kafka.common.errors.InvalidVoterKeyException
- InvalidVoterKeyException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.InvalidVoterKeyException
- IP - Static variable in class org.apache.kafka.common.quota.ClientQuotaEntity
- isBootstrapConfigured() - Method in class org.apache.kafka.common.Cluster
- isCancelled() - Method in class org.apache.kafka.common.KafkaFuture
-
Returns true if this CompletableFuture was cancelled before it completed normally.
- isCompletedExceptionally() - Method in class org.apache.kafka.common.KafkaFuture
-
Returns true if this CompletableFuture completed exceptionally, in any way.
- isDefault() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return whether the config value is the default or if it's been explicitly set.
- isDefault() - Method in class org.apache.kafka.common.config.ConfigResource
-
Returns true if this is the default resource of a resource type.
- isDone() - Method in class org.apache.kafka.common.KafkaFuture
-
Returns true if completed in any fashion: normally, exceptionally, or via cancellation.
- isEmpty() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
- isEmpty() - Method in class org.apache.kafka.common.Node
-
Check whether this node is empty, which may be the case if noNode() is used as a placeholder in a response payload with an error.
- isFenced() - Method in class org.apache.kafka.common.Node
-
Whether if this node is fenced
- isFuture() - Method in class org.apache.kafka.clients.admin.ReplicaInfo
-
Whether this replica has been created by a AlterReplicaLogDirsRequest but not yet replaced the current replica on the broker.
- isInternal() - Method in class org.apache.kafka.clients.admin.TopicDescription
-
Whether the topic is internal to Kafka.
- isInternal() - Method in class org.apache.kafka.clients.admin.TopicListing
-
Whether the topic is internal to Kafka.
- isMeasurable() - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
The method determines if the metric value provider is of type Measurable.
- ISOLATION_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
isolation.level
- ISOLATION_LEVEL_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- isolationLevel() - Method in class org.apache.kafka.clients.admin.ListOffsetsOptions
- IsolationLevel - Enum Class in org.apache.kafka.common
- isr() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the in-sync replicas of the partition.
- isReadOnly() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return whether the config is read-only and cannot be updated.
- isSensitive() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return whether the config value is sensitive.
- isSensitive() - Method in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Whether this type contains sensitive data such as a password or key.
- isSimpleConsumerGroup() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
If the group is a simple consumer group or not.
- isSimpleConsumerGroup() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
If consumer group is simple or not.
- isSimpleConsumerGroup() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
-
If Consumer Group is simple or not.
- isSimpleConsumerGroup() - Method in class org.apache.kafka.clients.admin.GroupListing
-
If the group is a simple consumer group or not.
- isSpecific() - Method in enum class org.apache.kafka.common.resource.PatternType
- issueTimestamp() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- isTerminating() - Method in interface org.apache.kafka.server.telemetry.ClientTelemetryPayload
-
Indicates whether the client is terminating and thus making its last metrics push.
- isUnknown() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Return true if this AclResource has any UNKNOWN components.
- isUnknown() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Return true if there are any UNKNOWN components.
- isUnknown() - Method in class org.apache.kafka.common.acl.AclBinding
- isUnknown() - Method in class org.apache.kafka.common.acl.AclBindingFilter
- isUnknown() - Method in enum class org.apache.kafka.common.acl.AclOperation
-
Return true if this operation is UNKNOWN.
- isUnknown() - Method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Return true if this permission type is UNKNOWN.
- isUnknown() - Method in enum class org.apache.kafka.common.resource.PatternType
- isUnknown() - Method in class org.apache.kafka.common.resource.Resource
-
Return true if this Resource has any UNKNOWN components.
- isUnknown() - Method in class org.apache.kafka.common.resource.ResourcePattern
- isUnknown() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- isUnknown() - Method in enum class org.apache.kafka.common.resource.ResourceType
-
Return whether this resource type is UNKNOWN.
- isUpperBound() - Method in class org.apache.kafka.common.metrics.Quota
- isValidEntityType(String) - Static method in class org.apache.kafka.common.quota.ClientQuotaEntity
- iterations() - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
- iterations() - Method in class org.apache.kafka.common.security.scram.ScramCredential
-
Number of iterations used to process this credential using the SCRAM algorithm.
- iterator() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
J
- JmxReporter - Class in org.apache.kafka.common.metrics
-
Register metrics in JMX as dynamic mbeans based on the metric names
- JmxReporter() - Constructor for class org.apache.kafka.common.metrics.JmxReporter
K
- KafkaAdminClient - Class in org.apache.kafka.clients.admin
-
The default implementation of
Admin
. - KafkaConsumer<K,
V> - Class in org.apache.kafka.clients.consumer -
A client that consumes records from a Kafka cluster.
- KafkaConsumer(Map<String, Object>) - Constructor for class org.apache.kafka.clients.consumer.KafkaConsumer
-
A consumer is instantiated by providing a set of key-value pairs as configuration.
- KafkaConsumer(Map<String, Object>, Deserializer<K>, Deserializer<V>) - Constructor for class org.apache.kafka.clients.consumer.KafkaConsumer
-
A consumer is instantiated by providing a set of key-value pairs as configuration, and a key and a value
Deserializer
. - KafkaConsumer(Properties) - Constructor for class org.apache.kafka.clients.consumer.KafkaConsumer
-
A consumer is instantiated by providing a
Properties
object as configuration. - KafkaConsumer(Properties, Deserializer<K>, Deserializer<V>) - Constructor for class org.apache.kafka.clients.consumer.KafkaConsumer
-
A consumer is instantiated by providing a
Properties
object as configuration, and a key and a valueDeserializer
. - KafkaException - Exception Class in org.apache.kafka.common
-
The base class of all other Kafka exceptions
- KafkaException() - Constructor for exception class org.apache.kafka.common.KafkaException
- KafkaException(String) - Constructor for exception class org.apache.kafka.common.KafkaException
- KafkaException(String, Throwable) - Constructor for exception class org.apache.kafka.common.KafkaException
- KafkaException(Throwable) - Constructor for exception class org.apache.kafka.common.KafkaException
- KafkaFuture<T> - Class in org.apache.kafka.common
-
A flexible future which supports call chaining and other asynchronous programming patterns.
- KafkaFuture() - Constructor for class org.apache.kafka.common.KafkaFuture
- KafkaFuture.BaseFunction<A,
B> - Interface in org.apache.kafka.common -
A function which takes objects of type A and returns objects of type B.
- KafkaFuture.BiConsumer<A,
B> - Interface in org.apache.kafka.common -
A consumer of two different types of object.
- KafkaMetric - Class in org.apache.kafka.common.metrics
- KafkaMetric(Object, MetricName, MetricValueProvider<?>, MetricConfig, Time) - Constructor for class org.apache.kafka.common.metrics.KafkaMetric
-
Create a metric to monitor an object that implements MetricValueProvider.
- KafkaMetricsContext - Class in org.apache.kafka.common.metrics
-
An implementation of MetricsContext, it encapsulates required metrics context properties for Kafka services and clients
- KafkaMetricsContext(String) - Constructor for class org.apache.kafka.common.metrics.KafkaMetricsContext
-
Create a MetricsContext with namespace, no service or client properties
- KafkaMetricsContext(String, Map<String, ?>) - Constructor for class org.apache.kafka.common.metrics.KafkaMetricsContext
-
Create a MetricsContext with namespace, service or client properties
- KafkaPrincipal - Class in org.apache.kafka.common.security.auth
-
Principals in Kafka are defined by a type and a name.
- KafkaPrincipal(String, String) - Constructor for class org.apache.kafka.common.security.auth.KafkaPrincipal
- KafkaPrincipal(String, String, boolean) - Constructor for class org.apache.kafka.common.security.auth.KafkaPrincipal
- KafkaPrincipalBuilder - Interface in org.apache.kafka.common.security.auth
-
Pluggable principal builder interface which supports both SSL authentication through
SslAuthenticationContext
and SASL throughSaslAuthenticationContext
. - KafkaPrincipalSerde - Interface in org.apache.kafka.common.security.auth
-
Serializer/Deserializer interface for
KafkaPrincipal
for the purpose of inter-broker forwarding. - KafkaProducer<K,
V> - Class in org.apache.kafka.clients.producer -
A Kafka client that publishes records to the Kafka cluster.
- KafkaProducer(Map<String, Object>) - Constructor for class org.apache.kafka.clients.producer.KafkaProducer
-
A producer is instantiated by providing a set of key-value pairs as configuration.
- KafkaProducer(Map<String, Object>, Serializer<K>, Serializer<V>) - Constructor for class org.apache.kafka.clients.producer.KafkaProducer
-
A producer is instantiated by providing a set of key-value pairs as configuration, a key and a value
Serializer
. - KafkaProducer(Properties) - Constructor for class org.apache.kafka.clients.producer.KafkaProducer
-
A producer is instantiated by providing a set of key-value pairs as configuration.
- KafkaProducer(Properties, Serializer<K>, Serializer<V>) - Constructor for class org.apache.kafka.clients.producer.KafkaProducer
-
A producer is instantiated by providing a set of key-value pairs as configuration, a key and a value
Serializer
. - KafkaShareConsumer<K,
V> - Class in org.apache.kafka.clients.consumer -
A client that consumes records from a Kafka cluster using a share group.
- KafkaShareConsumer(Map<String, Object>) - Constructor for class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
A consumer is instantiated by providing a set of key-value pairs as configuration.
- KafkaShareConsumer(Map<String, Object>, Deserializer<K>, Deserializer<V>) - Constructor for class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
A consumer is instantiated by providing a set of key-value pairs as configuration, and a key and a value
Deserializer
. - KafkaShareConsumer(Properties) - Constructor for class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
A consumer is instantiated by providing a
Properties
object as configuration. - KafkaShareConsumer(Properties, Deserializer<K>, Deserializer<V>) - Constructor for class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
A consumer is instantiated by providing a
Properties
object as configuration, and a key and a valueDeserializer
. - KafkaStorageException - Exception Class in org.apache.kafka.common.errors
-
Miscellaneous disk-related IOException occurred when handling a request.
- KafkaStorageException() - Constructor for exception class org.apache.kafka.common.errors.KafkaStorageException
- KafkaStorageException(String) - Constructor for exception class org.apache.kafka.common.errors.KafkaStorageException
- KafkaStorageException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.KafkaStorageException
- KafkaStorageException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.KafkaStorageException
- key() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The key (or null if no key is specified)
- key() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- key() - Method in interface org.apache.kafka.common.header.Header
- key() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- KEY - Enum constant in enum class org.apache.kafka.common.errors.RecordDeserializationException.DeserializationExceptionOrigin
- KEY_DESERIALIZER_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
key.deserializer
- KEY_DESERIALIZER_CLASS_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- KEY_SERIALIZER_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
key.serializer
- KEY_SERIALIZER_CLASS_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- keyBuffer() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- keystore() - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Returns keystore configured for this factory.
L
- lastCaughtUpTimestamp() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
-
Return the last millisecond timestamp at which this replica was known to be caught up with the leader.
- lastFetchTimestamp() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
-
Return the last millisecond timestamp that the leader received a fetch from this replica.
- lastHeader(String) - Method in interface org.apache.kafka.common.header.Headers
-
Returns just one (the very last) header for the given key, if present.
- lastKnownElr() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the last known eligible leader replicas of the partition.
- lastPollTimeout() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- lastSequence() - Method in class org.apache.kafka.clients.admin.ProducerState
- lastTimestamp() - Method in class org.apache.kafka.clients.admin.ProducerState
- latest() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the latest offset of a partition
- LATEST - Enum constant in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.
- LatestSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.LatestSpec
- latestTiered() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the highest offset of data stored in remote storage.
- LatestTieredSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.LatestTieredSpec
- leader() - Method in class org.apache.kafka.common.PartitionInfo
-
The node id of the node currently acting as a leader for this partition or null if there is no leader
- leader() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the leader of the partition or null if there is none.
- leaderEpoch() - Method in class org.apache.kafka.clients.admin.ListOffsetsResult.ListOffsetsResultInfo
- leaderEpoch() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- leaderEpoch() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
Get the leader epoch for the record if available
- leaderEpoch() - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
-
Get the leader epoch of the previously consumed record (if one is known).
- leaderEpoch() - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
-
Get the leader epoch corresponding to the offset that was found (if one exists).
- leaderFor(TopicPartition) - Method in class org.apache.kafka.common.Cluster
-
Get the current leader for the given topic-partition
- leaderId() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- LeaderNotAvailableException - Exception Class in org.apache.kafka.common.errors
-
There is no currently available leader for the given partition (either because a leadership election is in progress or because all replicas are down).
- LeaderNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.LeaderNotAvailableException
- LeaderNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.LeaderNotAvailableException
- lifetimeMs() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
The token's lifetime, expressed as the number of milliseconds since the epoch, as per RFC 6749 Section 1.4
- LINEAR - Enum constant in enum class org.apache.kafka.common.metrics.stats.Percentiles.BucketSizing
- LinearBinScheme(int, double) - Constructor for class org.apache.kafka.common.metrics.stats.Histogram.LinearBinScheme
-
Create a linear bin scheme with the specified number of bins and the maximum value to be counted in the bins.
- LINGER_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
linger.ms
- LIST - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- LIST - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for list values.
- listClientMetricsResources() - Method in interface org.apache.kafka.clients.admin.Admin
-
List the client metrics configuration resources available in the cluster with the default options.
- listClientMetricsResources(ListClientMetricsResourcesOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the client metrics configuration resources available in the cluster.
- listClientMetricsResources(ListClientMetricsResourcesOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listClientMetricsResources(ListClientMetricsResourcesOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListClientMetricsResourcesOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listClientMetricsResources()
. - ListClientMetricsResourcesOptions() - Constructor for class org.apache.kafka.clients.admin.ListClientMetricsResourcesOptions
- ListClientMetricsResourcesResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listClientMetricsResources()
call. - listConsumerGroupOffsets(String) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer group offsets available in the cluster with the default options.
- listConsumerGroupOffsets(String, ListConsumerGroupOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer group offsets available in the cluster.
- listConsumerGroupOffsets(Map<String, ListConsumerGroupOffsetsSpec>) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer group offsets available in the cluster for the specified groups with the default options.
- listConsumerGroupOffsets(Map<String, ListConsumerGroupOffsetsSpec>, ListConsumerGroupOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer group offsets available in the cluster for the specified consumer groups.
- listConsumerGroupOffsets(Map<String, ListConsumerGroupOffsetsSpec>, ListConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listConsumerGroupOffsets(Map<String, ListConsumerGroupOffsetsSpec>, ListConsumerGroupOffsetsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListConsumerGroupOffsetsOptions - Class in org.apache.kafka.clients.admin
- ListConsumerGroupOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsOptions
- ListConsumerGroupOffsetsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listConsumerGroupOffsets(Map)
andAdmin.listConsumerGroupOffsets(String)
call. - ListConsumerGroupOffsetsSpec - Class in org.apache.kafka.clients.admin
-
Specification of consumer group offsets to list using
Admin.listConsumerGroupOffsets(java.util.Map)
. - ListConsumerGroupOffsetsSpec() - Constructor for class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
- listConsumerGroups() - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer groups available in the cluster with the default options.
- listConsumerGroups(ListConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the consumer groups available in the cluster.
- listConsumerGroups(ListConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listConsumerGroups(ListConsumerGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListConsumerGroupsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listConsumerGroups()
. - ListConsumerGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
- ListConsumerGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listConsumerGroups()
call. - ListDeserializer<Inner> - Class in org.apache.kafka.common.serialization
- ListDeserializer() - Constructor for class org.apache.kafka.common.serialization.ListDeserializer
- ListDeserializer(Class<L>, Deserializer<Inner>) - Constructor for class org.apache.kafka.common.serialization.ListDeserializer
- listenerName() - Method in class org.apache.kafka.common.Endpoint
-
Returns the listener name of this endpoint.
- listenerName() - Method in interface org.apache.kafka.common.security.auth.AuthenticationContext
-
Name of the listener used for the connection
- listenerName() - Method in class org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
- listenerName() - Method in class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- listenerName() - Method in class org.apache.kafka.common.security.auth.SslAuthenticationContext
- listenerName() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns name of listener on which request was received.
- ListenerNotFoundException - Exception Class in org.apache.kafka.common.errors
-
The leader does not have an endpoint corresponding to the listener on which metadata was requested.
- ListenerNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.ListenerNotFoundException
- ListenerNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ListenerNotFoundException
- listGroups() - Method in interface org.apache.kafka.clients.admin.Admin
-
List the groups available in the cluster with the default options.
- listGroups(ListGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the groups available in the cluster.
- listGroups(ListGroupsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listGroups(ListGroupsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListGroupsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listGroups()
. - ListGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.ListGroupsOptions
- ListGroupsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listGroups()
call. - listings() - Method in class org.apache.kafka.clients.admin.ListTopicsResult
-
Return a future which yields a collection of TopicListing objects.
- listInternal(boolean) - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
-
Set whether we should list internal topics.
- listOffsets(Map<TopicPartition, OffsetSpec>) - Method in interface org.apache.kafka.clients.admin.Admin
-
List offset for the specified partitions and OffsetSpec.
- listOffsets(Map<TopicPartition, OffsetSpec>, ListOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List offset for the specified partitions.
- listOffsets(Map<TopicPartition, OffsetSpec>, ListOffsetsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listOffsets(Map<TopicPartition, OffsetSpec>, ListOffsetsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListOffsetsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listOffsets(Map)
. - ListOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.ListOffsetsOptions
- ListOffsetsOptions(IsolationLevel) - Constructor for class org.apache.kafka.clients.admin.ListOffsetsOptions
- ListOffsetsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listOffsets(Map)
call. - ListOffsetsResult(Map<TopicPartition, KafkaFuture<ListOffsetsResult.ListOffsetsResultInfo>>) - Constructor for class org.apache.kafka.clients.admin.ListOffsetsResult
- ListOffsetsResult.ListOffsetsResultInfo - Class in org.apache.kafka.clients.admin
- ListOffsetsResultInfo(long, long, Optional<Integer>) - Constructor for class org.apache.kafka.clients.admin.ListOffsetsResult.ListOffsetsResultInfo
- listPartitionReassignments() - Method in interface org.apache.kafka.clients.admin.Admin
-
List all of the current partition reassignments This is a convenience method for
Admin.listPartitionReassignments(ListPartitionReassignmentsOptions)
with default options. - listPartitionReassignments(Optional<Set<TopicPartition>>, ListPartitionReassignmentsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
- listPartitionReassignments(Optional<Set<TopicPartition>>, ListPartitionReassignmentsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listPartitionReassignments(Optional<Set<TopicPartition>>, ListPartitionReassignmentsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- listPartitionReassignments(Set<TopicPartition>) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the current reassignments for the given partitions This is a convenience method for
Admin.listPartitionReassignments(Set, ListPartitionReassignmentsOptions)
with default options. - listPartitionReassignments(Set<TopicPartition>, ListPartitionReassignmentsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the current reassignments for the given partitions
- listPartitionReassignments(ListPartitionReassignmentsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List all of the current partition reassignments
- ListPartitionReassignmentsOptions - Class in org.apache.kafka.clients.admin
- ListPartitionReassignmentsOptions() - Constructor for class org.apache.kafka.clients.admin.ListPartitionReassignmentsOptions
- ListPartitionReassignmentsResult - Class in org.apache.kafka.clients.admin
- ListSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.ListSerde
- ListSerde(Class<L>, Serde<Inner>) - Constructor for class org.apache.kafka.common.serialization.Serdes.ListSerde
- ListSerde(Class<L>, Serde<Inner>) - Static method in class org.apache.kafka.common.serialization.Serdes
- ListSerializer<Inner> - Class in org.apache.kafka.common.serialization
- ListSerializer() - Constructor for class org.apache.kafka.common.serialization.ListSerializer
- ListSerializer(Serializer<Inner>) - Constructor for class org.apache.kafka.common.serialization.ListSerializer
- listTopics() - Method in interface org.apache.kafka.clients.admin.Admin
-
List the topics available in the cluster with the default options.
- listTopics() - Method in interface org.apache.kafka.clients.consumer.Consumer
- listTopics() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get metadata about partitions for all topics that the user is authorized to view.
- listTopics() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- listTopics(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- listTopics(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get metadata about partitions for all topics that the user is authorized to view.
- listTopics(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- listTopics(ListTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List the topics available in the cluster.
- listTopics(ListTopicsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listTopics(ListTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListTopicsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listTopics()
. - ListTopicsOptions() - Constructor for class org.apache.kafka.clients.admin.ListTopicsOptions
- ListTopicsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listTopics()
call. - listTransactions() - Method in interface org.apache.kafka.clients.admin.Admin
-
List active transactions in the cluster.
- listTransactions(ListTransactionsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
List active transactions in the cluster.
- listTransactions(ListTransactionsOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- listTransactions(ListTransactionsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- ListTransactionsOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.listTransactions()
. - ListTransactionsOptions() - Constructor for class org.apache.kafka.clients.admin.ListTransactionsOptions
- ListTransactionsResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.listTransactions()
call. - LITERAL - Enum constant in enum class org.apache.kafka.common.resource.PatternType
-
A literal resource name.
- LOCAL_LOG_RETENTION_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- LOCAL_LOG_RETENTION_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- LOCAL_LOG_RETENTION_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- LOCAL_LOG_RETENTION_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- LogDirDescription - Class in org.apache.kafka.clients.admin
-
A description of a log directory on a particular broker.
- LogDirDescription(ApiException, Map<TopicPartition, ReplicaInfo>) - Constructor for class org.apache.kafka.clients.admin.LogDirDescription
- LogDirDescription(ApiException, Map<TopicPartition, ReplicaInfo>, long, long) - Constructor for class org.apache.kafka.clients.admin.LogDirDescription
- LogDirNotFoundException - Exception Class in org.apache.kafka.common.errors
-
Thrown when a request is made for a log directory that is not present on the broker
- LogDirNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.LogDirNotFoundException
- LogDirNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.LogDirNotFoundException
- LogDirNotFoundException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.LogDirNotFoundException
- logEndOffset() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
-
Return the logEndOffset known by the leader for this replica.
- logIfAllowed() - Method in class org.apache.kafka.server.authorizer.Action
-
Indicates if audit logs tracking ALLOWED access should include this action if result is ALLOWED.
- logIfDenied() - Method in class org.apache.kafka.server.authorizer.Action
-
Indicates if audit logs tracking DENIED access should include this action if result is DENIED.
- login() - Method in interface org.apache.kafka.common.security.auth.Login
-
Performs login for each login module specified for the login context of this instance.
- login() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- login() - Method in class org.apache.kafka.common.security.plain.PlainLoginModule
- login() - Method in class org.apache.kafka.common.security.scram.ScramLoginModule
- Login - Interface in org.apache.kafka.common.security.auth
-
Login interface for authentication.
- LogLevelConfig - Class in org.apache.kafka.common.config
-
This class holds definitions for log level configurations related to Kafka's application logging.
- LogLevelConfig() - Constructor for class org.apache.kafka.common.config.LogLevelConfig
- logout() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- logout() - Method in class org.apache.kafka.common.security.plain.PlainLoginModule
- logout() - Method in class org.apache.kafka.common.security.scram.ScramLoginModule
- LogTruncationException - Exception Class in org.apache.kafka.clients.consumer
-
In the event of an unclean leader election, the log will be truncated, previously committed data will be lost, and new data will be written over these offsets.
- LogTruncationException(String, Map<TopicPartition, Long>, Map<TopicPartition, OffsetAndMetadata>) - Constructor for exception class org.apache.kafka.clients.consumer.LogTruncationException
- LogTruncationException(Map<TopicPartition, Long>, Map<TopicPartition, OffsetAndMetadata>) - Constructor for exception class org.apache.kafka.clients.consumer.LogTruncationException
- logUnused() - Method in class org.apache.kafka.common.config.AbstractConfig
-
Info level log for any unused configurations
- Long() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Long
type. - LONG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- LONG - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for numerical values within the Java Long range.
- LONG - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Width
- LongDeserializer - Class in org.apache.kafka.common.serialization
- LongDeserializer() - Constructor for class org.apache.kafka.common.serialization.LongDeserializer
- LongSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.LongSerde
- LongSerializer - Class in org.apache.kafka.common.serialization
- LongSerializer() - Constructor for class org.apache.kafka.common.serialization.LongSerializer
- LOW - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Importance
- lowerBound(double) - Static method in class org.apache.kafka.common.metrics.Quota
- lowWatermark() - Method in class org.apache.kafka.clients.admin.DeletedRecords
-
Return the "low watermark" for the topic partition on which the deletion was executed
- lowWatermarks() - Method in class org.apache.kafka.clients.admin.DeleteRecordsResult
-
Return a map from topic partition to futures which can be used to check the status of individual deletions.
M
- main(String[]) - Static method in class org.apache.kafka.clients.admin.AdminClientConfig
- main(String[]) - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
- main(String[]) - Static method in class org.apache.kafka.clients.producer.ProducerConfig
- Manual Offset Control - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- Manual Partition Assignment - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- map() - Method in class org.apache.kafka.common.security.auth.SaslExtensions
-
Returns an immutable map of the extension names and their values
- match() - Method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
- MATCH - Enum constant in enum class org.apache.kafka.common.resource.PatternType
-
In a filter, will perform pattern matching.
- matches(AccessControlEntry) - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Returns true if this filter matches the given AccessControlEntry.
- matches(AclBinding) - Method in class org.apache.kafka.common.acl.AclBindingFilter
-
Return true if the resource filter matches the binding's resource and the entry filter matches binding's entry.
- matches(ResourcePattern) - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- matchesAtMostOne() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Returns true if this filter could only match one ACE -- in other words, if there are no ANY or UNKNOWN fields.
- matchesAtMostOne() - Method in class org.apache.kafka.common.acl.AclBindingFilter
-
Return true if the resource and entry filters can only match one ACE.
- matchesAtMostOne() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- Max - Class in org.apache.kafka.common.metrics.stats
-
A
SampledStat
that gives the max over its samples. - Max() - Constructor for class org.apache.kafka.common.metrics.stats.Max
- MAX_BLOCK_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
max.block.ms
- MAX_COMPACTION_LAG_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MAX_COMPACTION_LAG_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
max.in.flight.requests.per.connection
- MAX_MESSAGE_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MAX_MESSAGE_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MAX_PARTITION_FETCH_BYTES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
max.partition.fetch.bytes
- MAX_POLL_INTERVAL_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
max.poll.interval.ms
- MAX_POLL_RECORDS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
max.poll.records
- MAX_RECORDING_LEVEL_KEY - Static variable in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- MAX_REQUEST_SIZE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
max.request.size
- maxlifeTimeMs() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
-
Deprecated.Since 4.0 and should not be used any longer.
- maxlifeTimeMs(long) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
-
Deprecated.Since 4.0 and should not be used any longer.
- maxLifetimeMs() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- maxLifetimeMs(long) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- maxTimestamp() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
-
Used to retrieve the offset with the largest timestamp of a partition as message timestamps can be specified client side this may not match the log end offset returned by LatestSpec
- maxTimestamp() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- MaxTimestampSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.MaxTimestampSpec
- maxVersion() - Method in class org.apache.kafka.clients.admin.SupportedVersionRange
- maxVersionLevel() - Method in class org.apache.kafka.clients.admin.FeatureUpdate
- maxVersionLevel() - Method in class org.apache.kafka.clients.admin.FinalizedVersionRange
- measurable() - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
Get the underlying metric provider, which should be a
Measurable
- Measurable - Interface in org.apache.kafka.common.metrics
-
A measurable quantity that can be registered as a metric
- MeasurableStat - Interface in org.apache.kafka.common.metrics
-
A MeasurableStat is a
Stat
that is alsoMeasurable
(i.e. - measure(MetricConfig, long) - Method in interface org.apache.kafka.common.metrics.Measurable
-
Measure this quantity and return the result as a double
- measure(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.CumulativeSum
- measure(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Rate
- measure(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- measure(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.TokenBucket
- measure(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Value
- mechanism() - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
- mechanism() - Method in class org.apache.kafka.clients.admin.UserScramCredentialDeletion
- mechanismName() - Method in enum class org.apache.kafka.clients.admin.ScramMechanism
- MEDIUM - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Importance
- MEDIUM - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Width
- MemberAssignment - Class in org.apache.kafka.clients.admin
-
A description of the assignments of a specific group member.
- MemberAssignment(Set<TopicPartition>) - Constructor for class org.apache.kafka.clients.admin.MemberAssignment
-
Creates an instance with the specified parameters.
- MemberDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single group member in the cluster.
- MemberDescription(String, String, String, MemberAssignment) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
-
Deprecated.
- MemberDescription(String, Optional<String>, String, String, MemberAssignment) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
-
Deprecated.
- MemberDescription(String, Optional<String>, String, String, MemberAssignment, Optional<MemberAssignment>) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
-
Deprecated.
- MemberDescription(String, Optional<String>, String, String, MemberAssignment, Optional<MemberAssignment>, Optional<Integer>, Optional<Boolean>) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
- memberEpoch() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The epoch of the group member.
- memberId() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- MemberIdRequiredException - Exception Class in org.apache.kafka.common.errors
- MemberIdRequiredException(String) - Constructor for exception class org.apache.kafka.common.errors.MemberIdRequiredException
- MemberIdRequiredException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.MemberIdRequiredException
- memberResult(MemberToRemove) - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupResult
-
Returns the selected member future.
- members() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
A list of the members of the classic group.
- members() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
A list of the members of the consumer group.
- members() - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
- members() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
-
A list of the members of the share group.
- MemberToRemove - Class in org.apache.kafka.clients.admin
-
A struct containing information about the member to be removed.
- MemberToRemove(String) - Constructor for class org.apache.kafka.clients.admin.MemberToRemove
- MESSAGE_DOWNCONVERSION_ENABLE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
-
Deprecated.down-conversion is not possible in Apache Kafka 4.0 and newer, hence this configuration is a no-op, and it is deprecated for removal in Apache Kafka 5.0.
- MESSAGE_DOWNCONVERSION_ENABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
-
Deprecated.
- MESSAGE_TIMESTAMP_AFTER_MAX_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MESSAGE_TIMESTAMP_AFTER_MAX_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MESSAGE_TIMESTAMP_BEFORE_MAX_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MESSAGE_TIMESTAMP_BEFORE_MAX_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MESSAGE_TIMESTAMP_TYPE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MESSAGE_TIMESTAMP_TYPE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MessageFormatter - Interface in org.apache.kafka.common
-
This interface allows to define Formatters that can be used to parse and format records read by a Consumer instance for display.
- metadata() - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
- METADATA_MAX_AGE_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METADATA_MAX_AGE_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
metadata.max.age.ms
- METADATA_MAX_AGE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metadata.max.age.ms
- METADATA_MAX_IDLE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metadata.max.idle.ms
- METADATA_RECOVERY_REBOOTSTRAP_TRIGGER_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METADATA_RECOVERY_REBOOTSTRAP_TRIGGER_MS_DOC - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METADATA_RECOVERY_STRATEGY_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METADATA_RECOVERY_STRATEGY_DOC - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METADATA_TOPIC_ID - Static variable in class org.apache.kafka.common.Uuid
-
A UUID for the metadata topic in KRaft mode.
- Meter - Class in org.apache.kafka.common.metrics.stats
-
A compound stat that includes a rate metric and a cumulative total metric.
- Meter(TimeUnit, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
-
Construct a Meter with provided time unit
- Meter(TimeUnit, SampledStat, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
-
Construct a Meter with provided time unit
- Meter(MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
-
Construct a Meter with seconds as time unit
- Meter(SampledStat, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
-
Construct a Meter with seconds as time unit
- metric() - Method in exception class org.apache.kafka.common.metrics.QuotaViolationException
- metric(MetricName) - Method in class org.apache.kafka.common.metrics.Metrics
- Metric - Interface in org.apache.kafka.common
-
A metric tracked for monitoring purposes.
- METRIC_REPORTER_CLASSES_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METRIC_REPORTER_CLASSES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
metric.reporters
- METRIC_REPORTER_CLASSES_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metric.reporters
- metricChange(KafkaMetric) - Method in class org.apache.kafka.common.metrics.JmxReporter
- metricChange(KafkaMetric) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
-
This is called whenever a metric is updated or added
- MetricConfig - Class in org.apache.kafka.common.metrics
-
Configuration values for metrics
- MetricConfig() - Constructor for class org.apache.kafka.common.metrics.MetricConfig
- metricInstance(MetricNameTemplate, String...) - Method in class org.apache.kafka.common.metrics.Metrics
- metricInstance(MetricNameTemplate, Map<String, String>) - Method in class org.apache.kafka.common.metrics.Metrics
- metricName() - Method in interface org.apache.kafka.common.Metric
-
A name for this metric
- metricName() - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
Get the metric name
- metricName(String, String) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create a MetricName with the given name, group and default tags specified in the metric configuration.
- metricName(String, String, String) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create a MetricName with the given name, group, description, and default tags specified in the metric configuration.
- metricName(String, String, String, String...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create a MetricName with the given name, group, description, and keyValue as tags, plus default tags specified in the metric configuration.
- metricName(String, String, String, Map<String, String>) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create a MetricName with the given name, group, description and tags, plus default tags specified in the metric configuration.
- metricName(String, String, Map<String, String>) - Method in class org.apache.kafka.common.metrics.Metrics
-
Create a MetricName with the given name, group and tags, plus default tags specified in the metric configuration.
- MetricName - Class in org.apache.kafka.common
-
The
MetricName
class encapsulates a metric's name, logical group and its related attributes. - MetricName(String, String, String, Map<String, String>) - Constructor for class org.apache.kafka.common.MetricName
-
Please create MetricName by method
Metrics.metricName(String, String, String, Map)
- MetricNameTemplate - Class in org.apache.kafka.common
-
A template for a MetricName.
- MetricNameTemplate(String, String, String, String...) - Constructor for class org.apache.kafka.common.MetricNameTemplate
-
Create a new template.
- MetricNameTemplate(String, String, String, Set<String>) - Constructor for class org.apache.kafka.common.MetricNameTemplate
-
Create a new template.
- metricRemoval(KafkaMetric) - Method in class org.apache.kafka.common.metrics.JmxReporter
- metricRemoval(KafkaMetric) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
-
This is called whenever a metric is removed
- metrics() - Method in interface org.apache.kafka.clients.admin.Admin
-
Get the metrics kept by the adminClient
- metrics() - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- metrics() - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- metrics() - Method in interface org.apache.kafka.clients.consumer.Consumer
- metrics() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the metrics kept by the consumer
- metrics() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Get the metrics kept by the consumer
- metrics() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- metrics() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- metrics() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- metrics() - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Get the full set of internal metrics maintained by the producer.
- metrics() - Method in class org.apache.kafka.clients.producer.MockProducer
- metrics() - Method in interface org.apache.kafka.clients.producer.Producer
- metrics() - Method in class org.apache.kafka.common.metrics.Metrics
-
Get all the metrics currently maintained indexed by metricName
- Metrics - Class in org.apache.kafka.common.metrics
-
A registry of sensors and metrics.
- Metrics() - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with no metric reporters and default configuration.
- Metrics(MetricConfig) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with no reporters and the given default config.
- Metrics(MetricConfig, List<MetricsReporter>, Time) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with a default config and the given metric reporters.
- Metrics(MetricConfig, List<MetricsReporter>, Time, boolean) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with a default config, given metric reporters and the ability to expire eligible sensors
- Metrics(MetricConfig, List<MetricsReporter>, Time, boolean, MetricsContext) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with a default config, given metric reporters, the ability to expire eligible sensors and MetricContext
- Metrics(MetricConfig, List<MetricsReporter>, Time, MetricsContext) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with a default config, metric reporters and metric context Expiration of Sensors is disabled.
- Metrics(MetricConfig, Time) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with no metric reporters and the given default configuration.
- Metrics(Time) - Constructor for class org.apache.kafka.common.metrics.Metrics
-
Create a metrics repository with no metric reporters and default configuration.
- METRICS_CONFIG_PREFIX - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- METRICS_NUM_SAMPLES_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METRICS_NUM_SAMPLES_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
metrics.num.samples
- METRICS_NUM_SAMPLES_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metrics.num.samples
- METRICS_RECORDING_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METRICS_RECORDING_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
metrics.log.level
- METRICS_RECORDING_LEVEL_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metrics.recording.level
- METRICS_SAMPLE_WINDOW_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- METRICS_SAMPLE_WINDOW_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
metrics.sample.window.ms
- METRICS_SAMPLE_WINDOW_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
metrics.sample.window.ms
- MetricsContext - Interface in org.apache.kafka.common.metrics
-
MetricsContext encapsulates additional contextLabels about metrics exposed via a
MetricsReporter
- MetricsReporter - Interface in org.apache.kafka.common.metrics
-
A plugin interface to allow things to listen as new metrics are created so they can be reported.
- metricValue() - Method in interface org.apache.kafka.common.Metric
-
The value of the metric, which may be measurable or a non-measurable gauge
- metricValue() - Method in class org.apache.kafka.common.metrics.KafkaMetric
-
Take the metric and return the value, which could be a
Measurable
or aGauge
- MetricValueProvider<T> - Interface in org.apache.kafka.common.metrics
-
Super-interface for
Measurable
orGauge
that provides metric values. - Min - Class in org.apache.kafka.common.metrics.stats
-
A
SampledStat
that gives the min over its samples. - Min() - Constructor for class org.apache.kafka.common.metrics.stats.Min
- MIN_CLEANABLE_DIRTY_RATIO_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MIN_CLEANABLE_DIRTY_RATIO_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MIN_COMPACTION_LAG_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MIN_COMPACTION_LAG_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- MIN_IN_SYNC_REPLICAS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- MIN_IN_SYNC_REPLICAS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- minVersion() - Method in class org.apache.kafka.clients.admin.SupportedVersionRange
- minVersionLevel() - Method in class org.apache.kafka.clients.admin.FinalizedVersionRange
- MismatchedEndpointTypeException - Exception Class in org.apache.kafka.common.errors
- MismatchedEndpointTypeException(String) - Constructor for exception class org.apache.kafka.common.errors.MismatchedEndpointTypeException
- MockConsumer<K,
V> - Class in org.apache.kafka.clients.consumer -
A mock of the
Consumer
interface you can use for testing code that uses Kafka. - MockConsumer(String) - Constructor for class org.apache.kafka.clients.consumer.MockConsumer
-
A mock consumer is instantiated by providing ConsumerConfig.AUTO_OFFSET_RESET_CONFIG value as the input.
- MockConsumer(OffsetResetStrategy) - Constructor for class org.apache.kafka.clients.consumer.MockConsumer
-
Deprecated.Since 4.0. Use
MockConsumer(String)
instead. - MockProducer<K,
V> - Class in org.apache.kafka.clients.producer -
A mock of the producer interface you can use for testing code that uses Kafka.
- MockProducer() - Constructor for class org.apache.kafka.clients.producer.MockProducer
-
Create a new mock producer with invented metadata.
- MockProducer(boolean, Partitioner, Serializer<K>, Serializer<V>) - Constructor for class org.apache.kafka.clients.producer.MockProducer
-
Create a new mock producer with invented metadata the given autoComplete setting, partitioner and key\value serializers.
- MockProducer(Cluster, boolean, Partitioner, Serializer<K>, Serializer<V>) - Constructor for class org.apache.kafka.clients.producer.MockProducer
-
Create a mock producer
- MockShareConsumer<K,
V> - Class in org.apache.kafka.clients.consumer -
A mock of the
ShareConsumer
interface you can use for testing code that uses Kafka. - MockShareConsumer() - Constructor for class org.apache.kafka.clients.consumer.MockShareConsumer
- Multithreaded Processing - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- Multi-threaded Processing - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
N
- name - Variable in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
String representation of the group protocol.
- name - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- name - Variable in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
-
an english description of the api--this is for debugging and can change
- name - Variable in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
Name of the security protocol.
- name() - Method in class org.apache.kafka.clients.admin.ClientMetricsResourceListing
- name() - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
-
Returns the name of this configuration.
- name() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return the config name.
- name() - Method in class org.apache.kafka.clients.admin.NewTopic
-
The name of the topic to be created.
- name() - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- name() - Method in class org.apache.kafka.clients.admin.TopicDescription
-
The name of the topic.
- name() - Method in class org.apache.kafka.clients.admin.TopicListing
-
The name of the topic.
- name() - Method in class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- name() - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Unique name for this assignor (e.g.
- name() - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- name() - Method in class org.apache.kafka.clients.consumer.RangeAssignor
- name() - Method in class org.apache.kafka.clients.consumer.RoundRobinAssignor
- name() - Method in class org.apache.kafka.clients.consumer.StickyAssignor
- name() - Method in class org.apache.kafka.common.config.ConfigResource
-
Return the resource name.
- name() - Method in class org.apache.kafka.common.config.ConfigValue
- name() - Method in class org.apache.kafka.common.MetricName
- name() - Method in class org.apache.kafka.common.MetricNameTemplate
-
Get the name of the metric.
- name() - Method in class org.apache.kafka.common.metrics.CompoundStat.NamedMeasurable
- name() - Method in class org.apache.kafka.common.metrics.Sensor
-
The name this sensor is registered with.
- name() - Method in class org.apache.kafka.common.metrics.stats.Frequency
-
Get the name of this metric.
- name() - Method in class org.apache.kafka.common.metrics.stats.Percentile
- name() - Method in class org.apache.kafka.common.resource.Resource
-
Return the resource name.
- name() - Method in class org.apache.kafka.common.resource.ResourcePattern
- name() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- name() - Method in interface org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntity
-
Returns the name of this entity.
- NamedMeasurable(MetricName, Measurable) - Constructor for class org.apache.kafka.common.metrics.CompoundStat.NamedMeasurable
- names() - Method in class org.apache.kafka.clients.admin.ListTopicsResult
-
Return a future which yields a collection of topic names.
- names() - Method in class org.apache.kafka.common.config.ConfigDef
-
Returns unmodifiable set of properties names defined in this ConfigDef
- names() - Static method in enum class org.apache.kafka.common.security.auth.SecurityProtocol
- NAMESPACE - Static variable in interface org.apache.kafka.common.metrics.MetricsContext
- namesToListings() - Method in class org.apache.kafka.clients.admin.ListTopicsResult
-
Return a future which yields a map of topic names to TopicListing objects.
- NETWORK_THREAD_PREFIX - Static variable in class org.apache.kafka.clients.producer.KafkaProducer
- NetworkException - Exception Class in org.apache.kafka.common.errors
-
A misc.
- NetworkException() - Constructor for exception class org.apache.kafka.common.errors.NetworkException
- NetworkException(String) - Constructor for exception class org.apache.kafka.common.errors.NetworkException
- NetworkException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NetworkException
- NetworkException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.NetworkException
- NewLeaderElectedException - Exception Class in org.apache.kafka.common.errors
- NewLeaderElectedException(String) - Constructor for exception class org.apache.kafka.common.errors.NewLeaderElectedException
- NewPartitionReassignment - Class in org.apache.kafka.clients.admin
-
A new partition reassignment, which can be applied via
Admin.alterPartitionReassignments(Map, AlterPartitionReassignmentsOptions)
. - NewPartitionReassignment(List<Integer>) - Constructor for class org.apache.kafka.clients.admin.NewPartitionReassignment
- NewPartitions - Class in org.apache.kafka.clients.admin
-
Describes new partitions for a particular topic in a call to
Admin.createPartitions(Map)
. - NewTopic - Class in org.apache.kafka.clients.admin
-
A new topic to be created via
Admin.createTopics(Collection)
. - NewTopic(String, int, short) - Constructor for class org.apache.kafka.clients.admin.NewTopic
-
A new topic with the specified replication factor and number of partitions.
- NewTopic(String, Map<Integer, List<Integer>>) - Constructor for class org.apache.kafka.clients.admin.NewTopic
-
A new topic with the specified replica assignment configuration.
- NewTopic(String, Optional<Integer>, Optional<Short>) - Constructor for class org.apache.kafka.clients.admin.NewTopic
-
A new topic that optionally defaults
numPartitions
andreplicationFactor
to the broker configurations fornum.partitions
anddefault.replication.factor
respectively. - nextOffsets() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
-
Get the next offsets and metadata corresponding to all topic partitions for which the position have been advanced in this poll call
- NO_DEFAULT_VALUE - Static variable in class org.apache.kafka.common.config.ConfigDef
-
A unique Java object which represents the lack of a default value.
- NO_TIMESTAMP - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecord
- Node - Class in org.apache.kafka.common
-
Information about a Kafka node
- Node(int, String, int) - Constructor for class org.apache.kafka.common.Node
- Node(int, String, int, String) - Constructor for class org.apache.kafka.common.Node
- Node(int, String, int, String, boolean) - Constructor for class org.apache.kafka.common.Node
- nodeById(int) - Method in class org.apache.kafka.common.Cluster
-
Get the node by the node id (or null if the node is not online or does not exist)
- nodeId() - Method in class org.apache.kafka.clients.admin.QuorumInfo.Node
- nodeIfOnline(TopicPartition, int) - Method in class org.apache.kafka.common.Cluster
-
Get the node by node id if the replica for the given partition is online
- nodes() - Method in class org.apache.kafka.clients.admin.DescribeClusterResult
-
Returns a future which yields a collection of nodes.
- nodes() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- nodes() - Method in class org.apache.kafka.common.Cluster
- NON_RECONFIGURABLE_CONFIGS - Static variable in class org.apache.kafka.common.config.SslConfigs
- NONE - Enum constant in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.
- NONE - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Width
- NONE - Enum constant in enum class org.apache.kafka.common.config.SslClientAuth
- NonEmptyString() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonEmptyString
- nonEmptyStringWithoutControlChars() - Static method in class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
- NonEmptyStringWithoutControlChars() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
- nonInternalValues() - Method in class org.apache.kafka.common.config.AbstractConfig
- NonNullValidator() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonNullValidator
- noNode() - Static method in class org.apache.kafka.common.Node
- NoOffsetForPartitionException - Exception Class in org.apache.kafka.clients.consumer
-
Indicates that there is no stored offset for a partition and no defined offset reset policy.
- NoOffsetForPartitionException(Collection<TopicPartition>) - Constructor for exception class org.apache.kafka.clients.consumer.NoOffsetForPartitionException
- NoOffsetForPartitionException(TopicPartition) - Constructor for exception class org.apache.kafka.clients.consumer.NoOffsetForPartitionException
- NoReassignmentInProgressException - Exception Class in org.apache.kafka.common.errors
-
Thrown if a reassignment cannot be cancelled because none is in progress.
- NoReassignmentInProgressException(String) - Constructor for exception class org.apache.kafka.common.errors.NoReassignmentInProgressException
- NoReassignmentInProgressException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NoReassignmentInProgressException
- NotControllerException - Exception Class in org.apache.kafka.common.errors
- NotControllerException(String) - Constructor for exception class org.apache.kafka.common.errors.NotControllerException
- NotControllerException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotControllerException
- NotCoordinatorException - Exception Class in org.apache.kafka.common.errors
-
In the context of the group coordinator, the broker returns this error code if it receives an offset fetch or commit request for a group it's not the coordinator of.
- NotCoordinatorException(String) - Constructor for exception class org.apache.kafka.common.errors.NotCoordinatorException
- NotCoordinatorException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotCoordinatorException
- NotEnoughReplicasAfterAppendException - Exception Class in org.apache.kafka.common.errors
-
Number of insync replicas for the partition is lower than min.insync.replicas This exception is raised when the low ISR size is discovered *after* the message was already appended to the log.
- NotEnoughReplicasAfterAppendException(String) - Constructor for exception class org.apache.kafka.common.errors.NotEnoughReplicasAfterAppendException
- NotEnoughReplicasException - Exception Class in org.apache.kafka.common.errors
-
Number of insync replicas for the partition is lower than min.insync.replicas
- NotEnoughReplicasException() - Constructor for exception class org.apache.kafka.common.errors.NotEnoughReplicasException
- NotEnoughReplicasException(String) - Constructor for exception class org.apache.kafka.common.errors.NotEnoughReplicasException
- NotEnoughReplicasException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotEnoughReplicasException
- NotEnoughReplicasException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotEnoughReplicasException
- NotLeaderOrFollowerException - Exception Class in org.apache.kafka.common.errors
-
Broker returns this error if a request could not be processed because the broker is not the leader or follower for a topic partition.
- NotLeaderOrFollowerException() - Constructor for exception class org.apache.kafka.common.errors.NotLeaderOrFollowerException
- NotLeaderOrFollowerException(String) - Constructor for exception class org.apache.kafka.common.errors.NotLeaderOrFollowerException
- NotLeaderOrFollowerException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotLeaderOrFollowerException
- NotLeaderOrFollowerException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.NotLeaderOrFollowerException
- NULL_SIZE - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecord
- numPartitions() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- numPartitions() - Method in class org.apache.kafka.clients.admin.NewTopic
-
The number of partitions for the new topic or -1 if a replica assignment has been specified.
- numPartitions() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Return the number of partitions to create or null if replicaAssignments is not null.
- numPartitions(String) - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Returns a future that provides number of partitions in the topic when the request completes.
O
- 1. One Consumer Per Thread - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- OAUTHBEARER_MECHANISM - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
-
The SASL Mechanism name for OAuth 2:
OAUTHBEARER
- OAuthBearerExtensionsValidatorCallback - Class in org.apache.kafka.common.security.oauthbearer
-
A
Callback
for use by theSaslServer
implementation when it needs to validate the SASL extensions for the OAUTHBEARER mechanism Callback handlers should use theOAuthBearerExtensionsValidatorCallback.valid(String)
method to communicate valid extensions back to the SASL server. - OAuthBearerExtensionsValidatorCallback(OAuthBearerToken, SaslExtensions) - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- OAuthBearerLoginCallbackHandler - Class in org.apache.kafka.common.security.oauthbearer
-
OAuthBearerLoginCallbackHandler
is anAuthenticateCallbackHandler
that acceptsOAuthBearerTokenCallback
andSaslExtensionsCallback
callbacks to perform the steps to request a JWT from an OAuth/OIDC provider using theclientcredentials
. - OAuthBearerLoginCallbackHandler() - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- OAuthBearerLoginModule - Class in org.apache.kafka.common.security.oauthbearer
-
The
LoginModule
for the SASL/OAUTHBEARER mechanism. - OAuthBearerLoginModule() - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule
- OAuthBearerToken - Interface in org.apache.kafka.common.security.oauthbearer
-
The
b64token
value as defined in RFC 6750 Section 2.1 along with the token's specific scope and lifetime and principal name. - OAuthBearerTokenCallback - Class in org.apache.kafka.common.security.oauthbearer
-
A
Callback
for use by theSaslClient
andLogin
implementations when they require an OAuth 2 bearer token. - OAuthBearerTokenCallback() - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
- OAuthBearerValidatorCallback - Class in org.apache.kafka.common.security.oauthbearer
-
A
Callback
for use by theSaslServer
implementation when it needs to provide an OAuth 2 bearer token compact serialization for validation. - OAuthBearerValidatorCallback(String) - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Constructor
- OAuthBearerValidatorCallbackHandler - Class in org.apache.kafka.common.security.oauthbearer
-
OAuthBearerValidatorCallbackHandler
is anAuthenticateCallbackHandler
that acceptsOAuthBearerValidatorCallback
andOAuthBearerExtensionsValidatorCallback
callbacks to implement OAuth/OIDC validation. - OAuthBearerValidatorCallbackHandler() - Constructor for class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallbackHandler
- observers() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- of(String) - Static method in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
Case-insensitive group protocol lookup by string name.
- of(ConfigDef.Validator...) - Static method in class org.apache.kafka.common.config.ConfigDef.CompositeValidator
- ofDefaultEntity(String) - Static method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
-
Constructs and returns a filter component that matches the built-in default entity name for the entity type.
- ofEntity(String, String) - Static method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
-
Constructs and returns a filter component that exactly matches the provided entity name for the entity type.
- ofEntityType(String) - Static method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
-
Constructs and returns a filter component that matches any specified name for the entity type.
- offlineReplicas() - Method in class org.apache.kafka.common.PartitionInfo
-
The subset of the replicas that are offline
- offset() - Method in class org.apache.kafka.clients.admin.ListOffsetsResult.ListOffsetsResultInfo
- offset() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The position of this record in the corresponding Kafka partition.
- offset() - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
- offset() - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- offset() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The offset of the record in the topic/partition.
- offset() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- OffsetAndMetadata - Class in org.apache.kafka.clients.consumer
-
The Kafka offset commit API allows users to provide additional metadata (in the form of a string) when an offset is committed.
- OffsetAndMetadata(long) - Constructor for class org.apache.kafka.clients.consumer.OffsetAndMetadata
-
Construct a new OffsetAndMetadata object for committing through
KafkaConsumer
. - OffsetAndMetadata(long, String) - Constructor for class org.apache.kafka.clients.consumer.OffsetAndMetadata
-
Construct a new OffsetAndMetadata object for committing through
KafkaConsumer
. - OffsetAndMetadata(long, Optional<Integer>, String) - Constructor for class org.apache.kafka.clients.consumer.OffsetAndMetadata
-
Construct a new OffsetAndMetadata object for committing through
KafkaConsumer
. - OffsetAndTimestamp - Class in org.apache.kafka.clients.consumer
-
A container class for offset and timestamp.
- OffsetAndTimestamp(long, long) - Constructor for class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- OffsetAndTimestamp(long, long, Optional<Integer>) - Constructor for class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- OffsetCommitCallback - Interface in org.apache.kafka.clients.consumer
-
A callback interface that the user can implement to trigger custom actions when a commit request completes.
- offsetLag() - Method in class org.apache.kafka.clients.admin.ReplicaInfo
-
The lag of the log's LEO with respect to the partition's high watermark (if it is the current log for the partition) or the current replica's LEO (if it is the future log for the partition).
- OffsetMetadataTooLarge - Exception Class in org.apache.kafka.common.errors
-
The client has tried to save its offset with associated metadata larger than the maximum size allowed by the server.
- OffsetMetadataTooLarge() - Constructor for exception class org.apache.kafka.common.errors.OffsetMetadataTooLarge
- OffsetMetadataTooLarge(String) - Constructor for exception class org.apache.kafka.common.errors.OffsetMetadataTooLarge
- OffsetMetadataTooLarge(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.OffsetMetadataTooLarge
- OffsetMetadataTooLarge(Throwable) - Constructor for exception class org.apache.kafka.common.errors.OffsetMetadataTooLarge
- OffsetMovedToTieredStorageException - Exception Class in org.apache.kafka.common.errors
- OffsetMovedToTieredStorageException(String) - Constructor for exception class org.apache.kafka.common.errors.OffsetMovedToTieredStorageException
- OffsetMovedToTieredStorageException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.OffsetMovedToTieredStorageException
- OffsetNotAvailableException - Exception Class in org.apache.kafka.common.errors
-
Indicates that the leader is not able to guarantee monotonically increasing offsets due to the high watermark lagging behind the epoch start offset after a recent leader election
- OffsetNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.OffsetNotAvailableException
- OffsetOutOfRangeException - Exception Class in org.apache.kafka.clients.consumer
-
No reset policy has been defined, and the offsets for these partitions are either larger or smaller than the range of offsets the server has for the given partition.
- OffsetOutOfRangeException - Exception Class in org.apache.kafka.common.errors
-
No reset policy has been defined, and the offsets for these partitions are either larger or smaller than the range of offsets the server has for the given partition.
- OffsetOutOfRangeException(String) - Constructor for exception class org.apache.kafka.common.errors.OffsetOutOfRangeException
- OffsetOutOfRangeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.OffsetOutOfRangeException
- OffsetOutOfRangeException(String, Map<TopicPartition, Long>) - Constructor for exception class org.apache.kafka.clients.consumer.OffsetOutOfRangeException
- OffsetOutOfRangeException(Map<TopicPartition, Long>) - Constructor for exception class org.apache.kafka.clients.consumer.OffsetOutOfRangeException
- offsetOutOfRangePartitions() - Method in exception class org.apache.kafka.clients.consumer.OffsetOutOfRangeException
-
Get a map of the topic partitions and the respective out-of-range fetch offsets.
- OffsetResetStrategy - Enum Class in org.apache.kafka.clients.consumer
-
Deprecated.Since 4.0. Use
AutoOffsetResetStrategy
instead. - Offsets and Consumer Position - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- offsetsForTimes(Map<TopicPartition, Long>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- offsetsForTimes(Map<TopicPartition, Long>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Look up the offsets for the given partitions by timestamp.
- offsetsForTimes(Map<TopicPartition, Long>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- offsetsForTimes(Map<TopicPartition, Long>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- offsetsForTimes(Map<TopicPartition, Long>, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Look up the offsets for the given partitions by timestamp.
- offsetsForTimes(Map<TopicPartition, Long>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- OffsetSpec - Class in org.apache.kafka.clients.admin
-
This class allows to specify the desired offsets when using
KafkaAdminClient.listOffsets(Map, ListOffsetsOptions)
- OffsetSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec
- OffsetSpec.EarliestLocalSpec - Class in org.apache.kafka.clients.admin
- OffsetSpec.EarliestSpec - Class in org.apache.kafka.clients.admin
- OffsetSpec.LatestSpec - Class in org.apache.kafka.clients.admin
- OffsetSpec.LatestTieredSpec - Class in org.apache.kafka.clients.admin
- OffsetSpec.MaxTimestampSpec - Class in org.apache.kafka.clients.admin
- OffsetSpec.TimestampSpec - Class in org.apache.kafka.clients.admin
- ofTopicIds(Collection<Uuid>) - Static method in class org.apache.kafka.common.TopicCollection
- ofTopicNames(Collection<String>) - Static method in class org.apache.kafka.common.TopicCollection
- oldest(long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- onAcknowledgement(RecordMetadata, Exception) - Method in interface org.apache.kafka.clients.producer.ProducerInterceptor
-
This method is called when the record sent to the server has been acknowledged, or when sending the record fails before it gets sent to the server.
- onAssignment(ConsumerPartitionAssignor.Assignment, ConsumerGroupMetadata) - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Callback which is invoked when a group member receives its assignment from the leader.
- onAssignment(ConsumerPartitionAssignor.Assignment, ConsumerGroupMetadata) - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- onAssignment(ConsumerPartitionAssignor.Assignment, ConsumerGroupMetadata) - Method in class org.apache.kafka.clients.consumer.StickyAssignor
- onChange(String, ConfigData) - Method in interface org.apache.kafka.common.config.ConfigChangeCallback
-
Performs an action when configuration data changes.
- onCommit(Map<TopicPartition, OffsetAndMetadata>) - Method in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
-
This is called when offsets get committed.
- onComplete(Map<TopicIdPartition, Set<Long>>, Exception) - Method in interface org.apache.kafka.clients.consumer.AcknowledgementCommitCallback
-
A callback method the user can implement to provide asynchronous handling of acknowledgement completion.
- onComplete(Map<TopicPartition, OffsetAndMetadata>, Exception) - Method in interface org.apache.kafka.clients.consumer.OffsetCommitCallback
-
A callback method the user can implement to provide asynchronous handling of commit request completion.
- onCompletion(RecordMetadata, Exception) - Method in interface org.apache.kafka.clients.producer.Callback
-
A callback method the user can implement to provide asynchronous handling of request completion.
- onConsume(ConsumerRecords<K, V>) - Method in interface org.apache.kafka.clients.consumer.ConsumerInterceptor
-
This is called just before the records are returned by
KafkaConsumer.poll(java.time.Duration)
- ONE_UUID - Static variable in class org.apache.kafka.common.Uuid
-
A reserved UUID.
- ONGOING - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- onPartitionsAssigned(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener
-
A callback method the user can implement to provide handling of customized offsets on completion of a successful partition re-assignment.
- onPartitionsLost(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener
-
A callback method you can implement to provide handling of cleaning up resources for partitions that have already been reassigned to other consumers.
- onPartitionsRevoked(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.ConsumerRebalanceListener
-
A callback method the user can implement to provide handling of offset commits to a customized store.
- onSend(ProducerRecord<K, V>) - Method in interface org.apache.kafka.clients.producer.ProducerInterceptor
-
This is called from
KafkaProducer.send(ProducerRecord)
andKafkaProducer.send(ProducerRecord, Callback)
methods, before key and value get serialized and partition is assigned (if partition is not specified in ProducerRecord). - onUpdate(ClusterResource) - Method in interface org.apache.kafka.common.ClusterResourceListener
-
A callback method that a user can implement to get updates for
ClusterResource
. - Op(String, Double) - Constructor for class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- operation() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Return the AclOperation.
- operation() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Return the AclOperation.
- operation() - Method in class org.apache.kafka.server.authorizer.Action
- OperationNotAttemptedException - Exception Class in org.apache.kafka.common.errors
-
Indicates that the broker did not attempt to execute this operation.
- OperationNotAttemptedException(String) - Constructor for exception class org.apache.kafka.common.errors.OperationNotAttemptedException
- ops() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration
- opType() - Method in class org.apache.kafka.clients.admin.AlterConfigOp
- orderInGroup - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- org.apache.kafka.clients.admin - package org.apache.kafka.clients.admin
-
Provides a Kafka client for performing administrative operations (such as creating topics and configuring brokers) on a Kafka cluster.
- org.apache.kafka.clients.consumer - package org.apache.kafka.clients.consumer
-
Provides a Kafka client for consuming records from topics and/or partitions in a Kafka cluster.
- org.apache.kafka.clients.producer - package org.apache.kafka.clients.producer
-
Provides a Kafka client for producing records to topics and/or partitions in a Kafka cluster.
- org.apache.kafka.common - package org.apache.kafka.common
-
Provides shared functionality for Kafka clients and servers.
- org.apache.kafka.common.acl - package org.apache.kafka.common.acl
-
Provides classes representing Access Control Lists for authorization of clients
- org.apache.kafka.common.annotation - package org.apache.kafka.common.annotation
-
Provides annotations used on Kafka APIs.
- org.apache.kafka.common.config - package org.apache.kafka.common.config
-
Provides common mechanisms for defining, parsing, validating, and documenting user-configurable parameters.
- org.apache.kafka.common.config.provider - package org.apache.kafka.common.config.provider
-
Provides a pluggable interface and some implementations for late-binding in configuration values.
- org.apache.kafka.common.errors - package org.apache.kafka.common.errors
-
Provides common exception classes.
- org.apache.kafka.common.header - package org.apache.kafka.common.header
-
Provides API for application-defined metadata attached to Kafka records.
- org.apache.kafka.common.metrics - package org.apache.kafka.common.metrics
-
Provides the API used by Kafka clients to emit metrics which are then exposed using the *
MetricsReporter
interface. - org.apache.kafka.common.metrics.stats - package org.apache.kafka.common.metrics.stats
-
Provides methods of statistically aggregating metrics upon emission.
- org.apache.kafka.common.quota - package org.apache.kafka.common.quota
-
Provides mechanisms for enforcing resource quotas.
- org.apache.kafka.common.resource - package org.apache.kafka.common.resource
-
Provides client handles representing logical resources in a Kafka cluster.
- org.apache.kafka.common.security.auth - package org.apache.kafka.common.security.auth
-
Provides pluggable interfaces for implementing Kafka authentication mechanisms.
- org.apache.kafka.common.security.oauthbearer - package org.apache.kafka.common.security.oauthbearer
-
Provides a
LoginModule
for using OAuth Bearer Token authentication with Kafka clusters. - org.apache.kafka.common.security.plain - package org.apache.kafka.common.security.plain
-
Provides implementation to use plaintext credentials authentication for securing Kafka clusters.
- org.apache.kafka.common.security.scram - package org.apache.kafka.common.security.scram
-
Provides adaptor to use the Salted Challenge Response Authentication Mechanism for securing Kafka clusters.
- org.apache.kafka.common.security.token.delegation - package org.apache.kafka.common.security.token.delegation
-
Provides mechanism for delegating authorization to a distinct Principal for securing Kafka clusters.
- org.apache.kafka.common.serialization - package org.apache.kafka.common.serialization
-
Provides interface and some implementations of serialization/deserialization routines for various objects.
- org.apache.kafka.server.authorizer - package org.apache.kafka.server.authorizer
-
Provides pluggable interface for performing authorization on a Kafka server.
- org.apache.kafka.server.policy - package org.apache.kafka.server.policy
-
Provides pluggable interfaces for expressing policies on topics and configs.
- org.apache.kafka.server.quota - package org.apache.kafka.server.quota
-
Provides pluggable interface for enforcing client quotas from a Kafka server.
- org.apache.kafka.server.telemetry - package org.apache.kafka.server.telemetry
-
Provides pluggable interface for capturing client telemetry metrics.
- origin() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- originals() - Method in class org.apache.kafka.common.config.AbstractConfig
- originals(Map<String, Object>) - Method in class org.apache.kafka.common.config.AbstractConfig
- originalsStrings() - Method in class org.apache.kafka.common.config.AbstractConfig
-
Get all the original settings, ensuring that all values are of type String.
- originalsWithPrefix(String) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Gets all original settings with the given prefix, stripping the prefix before adding it to the output.
- originalsWithPrefix(String, boolean) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Gets all original settings with the given prefix.
- OutOfOrderSequenceException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that the broker received an unexpected sequence number from the producer, which means that data may have been lost.
- OutOfOrderSequenceException(String) - Constructor for exception class org.apache.kafka.common.errors.OutOfOrderSequenceException
- ownedPartitions() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- owner() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- owner() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- owner(KafkaPrincipal) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- ownerAsString() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- ownerOrRenewer(KafkaPrincipal) - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- owners() - Method in class org.apache.kafka.clients.admin.DescribeDelegationTokenOptions
- owners(List<KafkaPrincipal>) - Method in class org.apache.kafka.clients.admin.DescribeDelegationTokenOptions
-
If owners is null, all the user owned tokens and tokens where user have Describe permission will be returned.
P
- parse(String) - Static method in enum class org.apache.kafka.clients.admin.TransactionState
- parse(String) - Static method in enum class org.apache.kafka.common.ClassicGroupState
-
Case-insensitive classic group state lookup by string name.
- parse(String) - Static method in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.Case-insensitive consumer group state lookup by string name.
- parse(String) - Static method in enum class org.apache.kafka.common.GroupState
-
Case-insensitive group state lookup by string name.
- parse(String) - Static method in enum class org.apache.kafka.common.GroupType
-
Parse a string into a consumer group type, in a case-insensitive manner.
- parse(Map<?, ?>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Parse and validate configs against this configuration definition.
- parseType(String, Object, ConfigDef.Type) - Static method in class org.apache.kafka.common.config.ConfigDef
-
Parse a value according to its expected type.
- partition() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The partition from which this record is received
- partition() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- partition() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The partition the record was sent to
- partition() - Method in class org.apache.kafka.common.PartitionInfo
-
The partition id
- partition() - Method in class org.apache.kafka.common.TopicIdPartition
- partition() - Method in class org.apache.kafka.common.TopicPartition
- partition() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the partition id.
- partition() - Method in class org.apache.kafka.common.TopicPartitionReplica
- partition(String, Object, byte[], Object, byte[], Cluster) - Method in interface org.apache.kafka.clients.producer.Partitioner
-
Compute the partition for the given record.
- partition(String, Object, byte[], Object, byte[], Cluster) - Method in class org.apache.kafka.clients.producer.RoundRobinPartitioner
-
Compute the partition for the given record.
- partition(TopicPartition) - Method in class org.apache.kafka.common.Cluster
-
Get the metadata for the specified partition
- PARTITION_ASSIGNMENT_STRATEGY_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
partition.assignment.strategy
- partitionAssignor() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The consumer group partition assignor.
- partitionCountForTopic(String) - Method in class org.apache.kafka.common.Cluster
-
Get the number of partitions for the given topic.
- Partitioner - Interface in org.apache.kafka.clients.producer
-
Partitioner Interface
- PARTITIONER_ADPATIVE_PARTITIONING_ENABLE_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
partitioner.adaptive.partitioning.enable
- PARTITIONER_AVAILABILITY_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
partitioner.availability.timeout.ms
- PARTITIONER_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
partitioner.class
- PARTITIONER_IGNORE_KEYS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
partitioner.ignore.keys
- PartitionInfo - Class in org.apache.kafka.common
-
This is used to describe per-partition state in the MetadataResponse.
- PartitionInfo(String, int, Node, Node[], Node[]) - Constructor for class org.apache.kafka.common.PartitionInfo
- PartitionInfo(String, int, Node, Node[], Node[], Node[]) - Constructor for class org.apache.kafka.common.PartitionInfo
- PartitionProducerState(List<ProducerState>) - Constructor for class org.apache.kafka.clients.admin.DescribeProducersResult.PartitionProducerState
- PartitionReassignment - Class in org.apache.kafka.clients.admin
-
A partition reassignment, which has been listed via
Admin.listPartitionReassignments()
. - PartitionReassignment(List<Integer>, List<Integer>, List<Integer>) - Constructor for class org.apache.kafka.clients.admin.PartitionReassignment
- partitionResult(TopicPartition) - Method in class org.apache.kafka.clients.admin.AlterConsumerGroupOffsetsResult
-
Return a future which can be used to check the result for a given partition.
- partitionResult(TopicPartition) - Method in class org.apache.kafka.clients.admin.DeleteConsumerGroupOffsetsResult
-
Return a future which can be used to check the result for a given partition.
- partitionResult(TopicPartition) - Method in class org.apache.kafka.clients.admin.DescribeProducersResult
- partitionResult(TopicPartition) - Method in class org.apache.kafka.clients.admin.ListOffsetsResult
-
Return a future which can be used to check the result for a given partition.
- partitions() - Method in class org.apache.kafka.clients.admin.ElectLeadersResult
-
Get a future for the topic partitions for which a leader election was attempted.
- partitions() - Method in class org.apache.kafka.clients.admin.TopicDescription
-
A list of partitions where the index represents the partition id and the element contains leadership and replica information for that partition.
- partitions() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
- partitions() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
-
Get the partitions which have records contained in this record set.
- partitions() - Method in exception class org.apache.kafka.clients.consumer.InvalidOffsetException
- partitions() - Method in exception class org.apache.kafka.clients.consumer.NoOffsetForPartitionException
-
returns all partitions for which no offsets are defined.
- partitions() - Method in exception class org.apache.kafka.clients.consumer.OffsetOutOfRangeException
- partitionsFor(String) - Method in interface org.apache.kafka.clients.consumer.Consumer
- partitionsFor(String) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get metadata about the partitions for a given topic.
- partitionsFor(String) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- partitionsFor(String) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Get the partition metadata for the given topic.
- partitionsFor(String) - Method in class org.apache.kafka.clients.producer.MockProducer
- partitionsFor(String) - Method in interface org.apache.kafka.clients.producer.Producer
- partitionsFor(String, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- partitionsFor(String, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get metadata about the partitions for a given topic.
- partitionsFor(String, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- partitionsForException - Variable in class org.apache.kafka.clients.producer.MockProducer
- partitionsForNode(int) - Method in class org.apache.kafka.common.Cluster
-
Get the list of partitions whose leader is this node
- partitionsForTopic(String) - Method in class org.apache.kafka.common.Cluster
-
Get the list of partitions for this topic
- partitionSizeLimitPerResponse() - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
- partitionSizeLimitPerResponse(int) - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
- partitionsToOffsetAndMetadata() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsResult
-
Return a future which yields a map of topic partitions to OffsetAndMetadata objects.
- partitionsToOffsetAndMetadata(String) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsResult
-
Return a future which yields a map of topic partitions to OffsetAndMetadata objects for the specified group.
- password() - Method in class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
- password() - Method in class org.apache.kafka.common.security.plain.PlainAuthenticateCallback
-
Returns the password provided by the client during SASL/PLAIN authentication
- PASSWORD - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- PASSWORD - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for string values containing sensitive data such as a password or key.
- pattern() - Method in class org.apache.kafka.clients.consumer.SubscriptionPattern
- pattern() - Method in class org.apache.kafka.common.acl.AclBinding
- patternFilter() - Method in class org.apache.kafka.common.acl.AclBindingFilter
- patternType() - Method in class org.apache.kafka.common.resource.ResourcePattern
- patternType() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- PatternType - Enum Class in org.apache.kafka.common.resource
-
Resource pattern type.
- pause(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- pause(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Suspend fetching from the requested partitions.
- pause(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- paused() - Method in interface org.apache.kafka.clients.consumer.Consumer
- paused() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the set of partitions that were previously paused by a call to
KafkaConsumer.pause(Collection)
. - paused() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- percentile() - Method in class org.apache.kafka.common.metrics.stats.Percentile
- Percentile - Class in org.apache.kafka.common.metrics.stats
- Percentile(MetricName, double) - Constructor for class org.apache.kafka.common.metrics.stats.Percentile
- Percentiles - Class in org.apache.kafka.common.metrics.stats
-
A compound stat that reports one or more percentiles
- Percentiles(int, double, double, Percentiles.BucketSizing, Percentile...) - Constructor for class org.apache.kafka.common.metrics.stats.Percentiles
- Percentiles(int, double, Percentiles.BucketSizing, Percentile...) - Constructor for class org.apache.kafka.common.metrics.stats.Percentiles
- Percentiles.BucketSizing - Enum Class in org.apache.kafka.common.metrics.stats
- permissionType() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Return the AclPermissionType.
- permissionType() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Return the AclPermissionType.
- Per-record acknowledgement (explicit acknowledgement) - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- Per-record acknowledgement, ending processing of the batch on an error (explicit acknowledgement) - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- PlainAuthenticateCallback - Class in org.apache.kafka.common.security.plain
- PlainAuthenticateCallback(char[]) - Constructor for class org.apache.kafka.common.security.plain.PlainAuthenticateCallback
-
Creates a callback with the password provided by the client
- PlainLoginModule - Class in org.apache.kafka.common.security.plain
- PlainLoginModule() - Constructor for class org.apache.kafka.common.security.plain.PlainLoginModule
- PLAINTEXT - Enum constant in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
Un-authenticated, non-encrypted channel
- PlaintextAuthenticationContext - Class in org.apache.kafka.common.security.auth
- PlaintextAuthenticationContext(InetAddress, String) - Constructor for class org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
- PolicyViolationException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown if a create topics request does not satisfy the configured policy for a topic.
- PolicyViolationException(String) - Constructor for exception class org.apache.kafka.common.errors.PolicyViolationException
- PolicyViolationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.PolicyViolationException
- poll(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- poll(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Fetch data for the topics or partitions specified using one of the subscribe/assign APIs.
- poll(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Fetch data for the topics specified using
KafkaShareConsumer.subscribe(Collection)
. - poll(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- poll(Duration) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- poll(Duration) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- port() - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- port() - Method in class org.apache.kafka.common.Endpoint
-
Returns the port to which the listener is bound.
- port() - Method in class org.apache.kafka.common.Node
-
The port for this node
- position(TopicPartition) - Method in interface org.apache.kafka.clients.consumer.Consumer
- position(TopicPartition) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the offset of the next record that will be fetched (if a record with that offset exists).
- position(TopicPartition) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- position(TopicPartition, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
- position(TopicPartition, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the offset of the next record that will be fetched (if a record with that offset exists).
- position(TopicPartition, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- PositionOutOfRangeException - Exception Class in org.apache.kafka.common.errors
- PositionOutOfRangeException(String) - Constructor for exception class org.apache.kafka.common.errors.PositionOutOfRangeException
- PositionOutOfRangeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.PositionOutOfRangeException
- PREALLOCATE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- PREALLOCATE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- PREFERRED - Enum constant in enum class org.apache.kafka.common.ElectionType
- PreferredLeaderNotAvailableException - Exception Class in org.apache.kafka.common.errors
- PreferredLeaderNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.PreferredLeaderNotAvailableException
- PreferredLeaderNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.PreferredLeaderNotAvailableException
- PREFIXED - Enum constant in enum class org.apache.kafka.common.resource.PatternType
-
A prefixed resource name.
- PREPARE_ABORT - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- PREPARE_COMMIT - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- PREPARE_EPOCH_FENCE - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- PREPARING_REBALANCE - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- PREPARING_REBALANCE - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- PREPARING_REBALANCE - Enum constant in enum class org.apache.kafka.common.GroupState
- principal() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Return the principal for this entry.
- principal() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
-
Return the principal or null.
- principal() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns authenticated principal for the connection on which request was received.
- PrincipalDeserializationException - Exception Class in org.apache.kafka.common.errors
-
Exception used to indicate a kafka principal deserialization failure during request forwarding.
- PrincipalDeserializationException(String) - Constructor for exception class org.apache.kafka.common.errors.PrincipalDeserializationException
- PrincipalDeserializationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.PrincipalDeserializationException
- principalName() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
The name of the principal to which this credential applies
- PRODUCE - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaType
- Producer<K,
V> - Interface in org.apache.kafka.clients.producer -
The interface for the
KafkaProducer
- PRODUCER_METRIC_GROUP_NAME - Static variable in class org.apache.kafka.clients.producer.KafkaProducer
- ProducerConfig - Class in org.apache.kafka.clients.producer
-
Configuration for the Kafka Producer.
- ProducerConfig(Map<String, Object>) - Constructor for class org.apache.kafka.clients.producer.ProducerConfig
- ProducerConfig(Properties) - Constructor for class org.apache.kafka.clients.producer.ProducerConfig
- producerEpoch() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- producerEpoch() - Method in class org.apache.kafka.clients.admin.ProducerState
- producerEpoch() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- ProducerFencedException - Exception Class in org.apache.kafka.common.errors
-
This fatal exception indicates that another producer with the same
transactional.id
has been started. - ProducerFencedException(String) - Constructor for exception class org.apache.kafka.common.errors.ProducerFencedException
- producerId() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- producerId() - Method in class org.apache.kafka.clients.admin.ProducerState
- producerId() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- producerId() - Method in class org.apache.kafka.clients.admin.TransactionListing
- producerId(String) - Method in class org.apache.kafka.clients.admin.FenceProducersResult
-
Returns a future that provides the producer ID generated while initializing the given transaction when the request completes.
- ProducerInterceptor<K,
V> - Interface in org.apache.kafka.clients.producer -
A plugin interface that allows you to intercept (and possibly mutate) the records received by the producer before they are published to the Kafka cluster.
- ProducerRecord<K,
V> - Class in org.apache.kafka.clients.producer -
A key/value pair to be sent to Kafka.
- ProducerRecord(String, Integer, Long, K, V) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Creates a record with a specified timestamp to be sent to a specified topic and partition
- ProducerRecord(String, Integer, Long, K, V, Iterable<Header>) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Creates a record with a specified timestamp to be sent to a specified topic and partition
- ProducerRecord(String, Integer, K, V) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Creates a record to be sent to a specified topic and partition
- ProducerRecord(String, Integer, K, V, Iterable<Header>) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Creates a record to be sent to a specified topic and partition
- ProducerRecord(String, K, V) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Create a record to be sent to Kafka
- ProducerRecord(String, V) - Constructor for class org.apache.kafka.clients.producer.ProducerRecord
-
Create a record with no key
- ProducerState - Class in org.apache.kafka.clients.admin
- ProducerState(long, int, int, long, OptionalInt, OptionalLong) - Constructor for class org.apache.kafka.clients.admin.ProducerState
- protocol() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
The group protocol type.
- protocol() - Method in class org.apache.kafka.clients.admin.GroupListing
-
The protocol of the group.
- protocolData() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
The group protocol data.
Q
- quorumInfo() - Method in class org.apache.kafka.clients.admin.DescribeMetadataQuorumResult
-
Returns a future containing the QuorumInfo
- QuorumInfo - Class in org.apache.kafka.clients.admin
-
This class is used to describe the state of the quorum received in DescribeQuorumResponse.
- QuorumInfo.Node - Class in org.apache.kafka.clients.admin
- QuorumInfo.ReplicaState - Class in org.apache.kafka.clients.admin
- quota() - Method in class org.apache.kafka.common.metrics.MetricConfig
- quota(Quota) - Method in class org.apache.kafka.common.metrics.MetricConfig
- Quota - Class in org.apache.kafka.common.metrics
-
An upper or lower bound for metrics
- Quota(double, boolean) - Constructor for class org.apache.kafka.common.metrics.Quota
- quotaLimit(ClientQuotaType, Map<String, String>) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Returns the quota limit associated with the provided metric tags.
- quotaMetricTags(ClientQuotaType, KafkaPrincipal, String) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Quota callback invoked to determine the quota metric tags to be applied for a request.
- quotaResetRequired(ClientQuotaType) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Returns true if any of the existing quota configs may have been updated since the last call to this method for the provided quota type.
- QuotaViolationException - Exception Class in org.apache.kafka.common.metrics
-
Thrown when a sensor records a value that causes a metric to go outside the bounds configured as its quota
- QuotaViolationException(KafkaMetric, double, double) - Constructor for exception class org.apache.kafka.common.metrics.QuotaViolationException
R
- rack() - Method in class org.apache.kafka.common.Node
-
The rack for this node
- rackId() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- RaftVoterEndpoint - Class in org.apache.kafka.clients.admin
-
An endpoint for a raft quorum voter.
- RaftVoterEndpoint(String, String, int) - Constructor for class org.apache.kafka.clients.admin.RaftVoterEndpoint
-
Create an endpoint for a metadata quorum voter.
- randomUuid() - Static method in class org.apache.kafka.common.Uuid
-
Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
- RANGE_ASSIGNOR_NAME - Static variable in class org.apache.kafka.clients.consumer.RangeAssignor
- RangeAssignor - Class in org.apache.kafka.clients.consumer
-
The range assignor works on a per-topic basis.
- RangeAssignor() - Constructor for class org.apache.kafka.clients.consumer.RangeAssignor
- Rate - Class in org.apache.kafka.common.metrics.stats
-
The rate of the given quantity.
- Rate() - Constructor for class org.apache.kafka.common.metrics.stats.Rate
- Rate(TimeUnit) - Constructor for class org.apache.kafka.common.metrics.stats.Rate
- Rate(TimeUnit, SampledStat) - Constructor for class org.apache.kafka.common.metrics.stats.Rate
- Rate(SampledStat) - Constructor for class org.apache.kafka.common.metrics.stats.Rate
- READ - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
READ operation.
- READ_COMMITTED - Enum constant in enum class org.apache.kafka.common.IsolationLevel
- READ_UNCOMMITTED - Enum constant in enum class org.apache.kafka.common.IsolationLevel
- Reading Transactional Messages - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- Reading Transactional Records - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- reason() - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
- reason(String) - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
-
Sets an optional reason.
- ReassignmentInProgressException - Exception Class in org.apache.kafka.common.errors
-
Thrown if a request cannot be completed because a partition reassignment is in progress.
- ReassignmentInProgressException(String) - Constructor for exception class org.apache.kafka.common.errors.ReassignmentInProgressException
- ReassignmentInProgressException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ReassignmentInProgressException
- reassignments() - Method in class org.apache.kafka.clients.admin.ListPartitionReassignmentsResult
-
Return a future which yields a map containing each partition's reassignments
- rebalance(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
-
Simulate a rebalance event.
- RebalanceInProgressException - Exception Class in org.apache.kafka.common.errors
- RebalanceInProgressException() - Constructor for exception class org.apache.kafka.common.errors.RebalanceInProgressException
- RebalanceInProgressException(String) - Constructor for exception class org.apache.kafka.common.errors.RebalanceInProgressException
- RebalanceInProgressException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RebalanceInProgressException
- RebalanceInProgressException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.RebalanceInProgressException
- RebootstrapRequiredException - Exception Class in org.apache.kafka.common.errors
- RebootstrapRequiredException(String) - Constructor for exception class org.apache.kafka.common.errors.RebootstrapRequiredException
- RebootstrapRequiredException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RebootstrapRequiredException
- RECEIVE_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- RECEIVE_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
receive.buffer.bytes
- RECEIVE_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
receive.buffer.bytes
- recommendedValues() - Method in class org.apache.kafka.common.config.ConfigValue
- recommendedValues(List<Object>) - Method in class org.apache.kafka.common.config.ConfigValue
- recommender - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- RECONCILING - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- RECONCILING - Enum constant in enum class org.apache.kafka.common.GroupState
- Reconfigurable - Interface in org.apache.kafka.common
-
Interface for reconfigurable classes that support dynamic configuration.
- RECONFIGURABLE_CONFIGS - Static variable in class org.apache.kafka.common.config.SslConfigs
- RECONFIGURABLE_CONFIGS - Static variable in class org.apache.kafka.common.metrics.JmxReporter
- reconfigurableConfigs() - Method in class org.apache.kafka.common.metrics.JmxReporter
- reconfigurableConfigs() - Method in interface org.apache.kafka.common.metrics.MetricsReporter
- reconfigurableConfigs() - Method in interface org.apache.kafka.common.Reconfigurable
-
Returns the names of configs that may be reconfigured.
- reconfigurableConfigs() - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Returns the names of configs that may be reconfigured.
- reconfigure(Map<String, ?>) - Method in class org.apache.kafka.common.metrics.JmxReporter
- reconfigure(Map<String, ?>) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
- reconfigure(Map<String, ?>) - Method in interface org.apache.kafka.common.Reconfigurable
-
Reconfigures this instance with the given key-value pairs.
- RECONNECT_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
reconnect.backoff.max.ms
- RECONNECT_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
reconnect.backoff.max.ms
- RECONNECT_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
reconnect.backoff.max.ms
- RECONNECT_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
reconnect.backoff.ms
- RECONNECT_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
reconnect.backoff.ms
- RECONNECT_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
reconnect.backoff.ms
- record() - Method in class org.apache.kafka.common.metrics.Sensor
-
Record an occurrence, this is just short-hand for
record(1.0)
- record(double) - Method in class org.apache.kafka.common.metrics.Sensor
-
Record a value with this sensor
- record(double) - Method in class org.apache.kafka.common.metrics.stats.Histogram
- record(double, long) - Method in class org.apache.kafka.common.metrics.Sensor
-
Record a value at a known time.
- record(double, long, boolean) - Method in class org.apache.kafka.common.metrics.Sensor
-
Record a value at a known time.
- record(MetricConfig, double, long) - Method in interface org.apache.kafka.common.metrics.Stat
-
Record the given value
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.CumulativeCount
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.CumulativeSum
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.Meter
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.Rate
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.TokenBucket
- record(MetricConfig, double, long) - Method in class org.apache.kafka.common.metrics.stats.Value
- RecordBatchTooLargeException - Exception Class in org.apache.kafka.common.errors
-
This record batch is larger than the maximum allowable size
- RecordBatchTooLargeException() - Constructor for exception class org.apache.kafka.common.errors.RecordBatchTooLargeException
- RecordBatchTooLargeException(String) - Constructor for exception class org.apache.kafka.common.errors.RecordBatchTooLargeException
- RecordBatchTooLargeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordBatchTooLargeException
- RecordBatchTooLargeException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordBatchTooLargeException
- Record Delivery and Acknowledgement - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- RecordDeserializationException - Exception Class in org.apache.kafka.common.errors
-
This exception is raised for any error that occurs while deserializing records received by the consumer using the configured
Deserializer
. - RecordDeserializationException(RecordDeserializationException.DeserializationExceptionOrigin, TopicPartition, long, long, TimestampType, ByteBuffer, ByteBuffer, Headers, String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordDeserializationException
- RecordDeserializationException(TopicPartition, long, String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordDeserializationException
- RecordDeserializationException.DeserializationExceptionOrigin - Enum Class in org.apache.kafka.common.errors
- recordLevel() - Method in class org.apache.kafka.common.metrics.MetricConfig
- recordLevel(Sensor.RecordingLevel) - Method in class org.apache.kafka.common.metrics.MetricConfig
- RecordMetadata - Class in org.apache.kafka.clients.producer
-
The metadata for a record that has been acknowledged by the server
- RecordMetadata(TopicPartition, long, int, long, int, int) - Constructor for class org.apache.kafka.clients.producer.RecordMetadata
-
Creates a new instance with the provided parameters.
- records(String) - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
-
Get just the records for the given topic
- records(TopicPartition) - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
-
Get just the records for the given partition
- RecordsToDelete - Class in org.apache.kafka.clients.admin
-
Describe records to delete in a call to
Admin.deleteRecords(Map)
- RecordTooLargeException - Exception Class in org.apache.kafka.common.errors
-
This record is larger than the maximum allowable size
- RecordTooLargeException() - Constructor for exception class org.apache.kafka.common.errors.RecordTooLargeException
- RecordTooLargeException(String) - Constructor for exception class org.apache.kafka.common.errors.RecordTooLargeException
- RecordTooLargeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordTooLargeException
- RecordTooLargeException(String, Map<TopicPartition, Long>) - Constructor for exception class org.apache.kafka.common.errors.RecordTooLargeException
- RecordTooLargeException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.RecordTooLargeException
- recordTooLargePartitions() - Method in exception class org.apache.kafka.common.errors.RecordTooLargeException
- registerMetricForSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.admin.Admin
-
Add the provided application metric for subscription.
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- registerMetricForSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.consumer.Consumer
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Add the provided application metric for subscription.
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Add the provided application metric for subscription.
- registerMetricForSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.producer.MockProducer
- registerMetricForSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.producer.Producer
- REJECT - Enum constant in enum class org.apache.kafka.clients.consumer.AcknowledgeType
-
The record was not consumed successfully.
- Relation to CompletionStage - Search tag in class org.apache.kafka.common.KafkaFuture
- Section
- RELEASE - Enum constant in enum class org.apache.kafka.clients.consumer.AcknowledgeType
-
The record was not consumed successfully.
- REMOTE_LOG_COPY_DISABLE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- REMOTE_LOG_COPY_DISABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- REMOTE_LOG_DELETE_ON_DISABLE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- REMOTE_LOG_DELETE_ON_DISABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- REMOTE_LOG_STORAGE_ENABLE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- REMOTE_LOG_STORAGE_ENABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- remove(String) - Method in interface org.apache.kafka.common.header.Headers
-
Removes all headers for the given key returning if the operation succeeded.
- removeAll() - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
- removeMembersFromConsumerGroup(String, RemoveMembersFromConsumerGroupOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Remove members from the consumer group by given member identities.
- removeMembersFromConsumerGroup(String, RemoveMembersFromConsumerGroupOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- removeMembersFromConsumerGroup(String, RemoveMembersFromConsumerGroupOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- RemoveMembersFromConsumerGroupOptions - Class in org.apache.kafka.clients.admin
- RemoveMembersFromConsumerGroupOptions() - Constructor for class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
- RemoveMembersFromConsumerGroupOptions(Collection<MemberToRemove>) - Constructor for class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
- RemoveMembersFromConsumerGroupResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.removeMembersFromConsumerGroup(String, RemoveMembersFromConsumerGroupOptions)
call. - removeMetric(MetricName) - Method in class org.apache.kafka.common.metrics.Metrics
-
Remove a metric if it exists and return it.
- removeQuota(ClientQuotaType, ClientQuotaEntity) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Quota configuration removal callback that is invoked when quota configuration for an entity is removed in the quorum.
- removeRaftVoter(int, Uuid) - Method in interface org.apache.kafka.clients.admin.Admin
-
Remove a voter node from the KRaft metadata quorum.
- removeRaftVoter(int, Uuid, RemoveRaftVoterOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Remove a voter node from the KRaft metadata quorum.
- removeRaftVoter(int, Uuid, RemoveRaftVoterOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- removeRaftVoter(int, Uuid, RemoveRaftVoterOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- RemoveRaftVoterOptions - Class in org.apache.kafka.clients.admin
- RemoveRaftVoterOptions() - Constructor for class org.apache.kafka.clients.admin.RemoveRaftVoterOptions
- RemoveRaftVoterResult - Class in org.apache.kafka.clients.admin
- removeReporter(MetricsReporter) - Method in class org.apache.kafka.common.metrics.Metrics
-
Remove a MetricReporter
- removeSensor(String) - Method in class org.apache.kafka.common.metrics.Metrics
-
Remove a sensor (if it exists), associated metrics and its children.
- removingReplicas() - Method in class org.apache.kafka.clients.admin.PartitionReassignment
-
The brokers that we are removing this partition from as part of a reassignment.
- renewDelegationToken(byte[]) - Method in interface org.apache.kafka.clients.admin.Admin
-
Renew a Delegation Token.
- renewDelegationToken(byte[], RenewDelegationTokenOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Renew a Delegation Token.
- renewDelegationToken(byte[], RenewDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- renewDelegationToken(byte[], RenewDelegationTokenOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- RenewDelegationTokenOptions - Class in org.apache.kafka.clients.admin
- RenewDelegationTokenOptions() - Constructor for class org.apache.kafka.clients.admin.RenewDelegationTokenOptions
- RenewDelegationTokenResult - Class in org.apache.kafka.clients.admin
-
The result of the
KafkaAdminClient.expireDelegationToken(byte[], ExpireDelegationTokenOptions)
call. - renewers() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- renewers() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- renewers(List<KafkaPrincipal>) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
- renewersAsString() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- renewTimePeriodMs() - Method in class org.apache.kafka.clients.admin.RenewDelegationTokenOptions
- renewTimePeriodMs(long) - Method in class org.apache.kafka.clients.admin.RenewDelegationTokenOptions
- replicaDirectoryId() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
-
Return the directory id of the replica if configured, or Uuid.ZERO_UUID if not.
- replicaId() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
-
Return the ID for this replica.
- ReplicaInfo - Class in org.apache.kafka.clients.admin
-
A description of a replica on a particular broker.
- ReplicaInfo(long, long, boolean) - Constructor for class org.apache.kafka.clients.admin.ReplicaInfo
- replicaInfos() - Method in class org.apache.kafka.clients.admin.LogDirDescription
-
A map from topic partition to replica information for that partition in this log directory.
- ReplicaNotAvailableException - Exception Class in org.apache.kafka.common.errors
-
The replica is not available for the requested topic partition.
- ReplicaNotAvailableException(String) - Constructor for exception class org.apache.kafka.common.errors.ReplicaNotAvailableException
- ReplicaNotAvailableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ReplicaNotAvailableException
- ReplicaNotAvailableException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.ReplicaNotAvailableException
- replicas() - Method in class org.apache.kafka.clients.admin.PartitionReassignment
-
The brokers which this partition currently resides on.
- replicas() - Method in class org.apache.kafka.common.PartitionInfo
-
The complete set of replicas for this partition regardless of whether they are alive or up-to-date
- replicas() - Method in class org.apache.kafka.common.TopicPartitionInfo
-
Return the replicas of the partition in the same order as the replica assignment.
- replicasAssignments() - Method in class org.apache.kafka.clients.admin.NewTopic
-
A map from partition id to replica ids (i.e.
- replicasAssignments() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Return a map from partition id to replica (broker) ids or null if numPartitions and replicationFactor are set instead.
- replicationFactor() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- replicationFactor() - Method in class org.apache.kafka.clients.admin.NewTopic
-
The replication factor for the new topic or -1 if a replica assignment has been specified.
- replicationFactor() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Return the number of replicas to create or null if replicaAssignments is not null.
- replicationFactor(String) - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Returns a future that provides replication factor for the topic when the request completes.
- reporters() - Method in class org.apache.kafka.common.metrics.Metrics
- REQUEST - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaType
- REQUEST_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
request.timeout.ms
- REQUEST_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
request.timeout.ms
- REQUEST_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
request.timeout.ms
- REQUESTED - Enum constant in enum class org.apache.kafka.common.config.SslClientAuth
- RequestMetadata(String, Integer, Short, Map<Integer, List<Integer>>, Map<String, String>) - Constructor for class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Create an instance of this class with the provided parameters.
- RequestMetadata(ConfigResource, Map<String, String>) - Constructor for class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
-
Create an instance of this class with the provided parameters.
- requestType() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
16-bit API key of the request from the request header.
- requestVersion() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns the request version from the request header.
- REQUIRED - Enum constant in enum class org.apache.kafka.common.config.SslClientAuth
- requireStable() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsOptions
- requireStable(boolean) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsOptions
-
Sets an optional requireStable flag.
- RESERVED - Static variable in class org.apache.kafka.common.Uuid
-
The set of reserved UUIDs that will never be returned by the randomUuid method.
- resetShouldRebalance() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- resource() - Method in exception class org.apache.kafka.common.errors.DuplicateResourceException
- resource() - Method in exception class org.apache.kafka.common.errors.ResourceNotFoundException
- resource() - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
- Resource - Class in org.apache.kafka.common.resource
-
Represents a cluster resource with a tuple of (type, name).
- Resource(ResourceType, String) - Constructor for class org.apache.kafka.common.resource.Resource
-
Create an instance of this class with the provided parameters.
- ResourceNotFoundException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown due to a request for a resource that does not exist.
- ResourceNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.ResourceNotFoundException
-
Constructor
- ResourceNotFoundException(String, String) - Constructor for exception class org.apache.kafka.common.errors.ResourceNotFoundException
-
Constructor
- ResourceNotFoundException(String, String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ResourceNotFoundException
-
Constructor
- ResourceNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.ResourceNotFoundException
- resourcePattern() - Method in class org.apache.kafka.server.authorizer.Action
- ResourcePattern - Class in org.apache.kafka.common.resource
-
Represents a pattern that is used by ACLs to match zero or more
Resources
. - ResourcePattern(ResourceType, String, PatternType) - Constructor for class org.apache.kafka.common.resource.ResourcePattern
-
Create a pattern using the supplied parameters.
- ResourcePatternFilter - Class in org.apache.kafka.common.resource
-
Represents a filter that can match
ResourcePattern
. - ResourcePatternFilter(ResourceType, String, PatternType) - Constructor for class org.apache.kafka.common.resource.ResourcePatternFilter
-
Create a filter using the supplied parameters.
- resourceReferenceCount() - Method in class org.apache.kafka.server.authorizer.Action
-
Number of times the resource being authorized is referenced within the request.
- resourceType() - Method in class org.apache.kafka.common.resource.Resource
-
Return the resource type.
- resourceType() - Method in class org.apache.kafka.common.resource.ResourcePattern
- resourceType() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- ResourceType - Enum Class in org.apache.kafka.common.resource
-
Represents a type of resource which an ACL can be applied to.
- resume(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- resume(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Resume specified partitions which have been paused with
KafkaConsumer.pause(Collection)
. - resume(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- RETENTION_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- RETENTION_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- RETENTION_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- RETENTION_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- RetriableCommitFailedException - Exception Class in org.apache.kafka.clients.consumer
- RetriableCommitFailedException(String) - Constructor for exception class org.apache.kafka.clients.consumer.RetriableCommitFailedException
- RetriableCommitFailedException(String, Throwable) - Constructor for exception class org.apache.kafka.clients.consumer.RetriableCommitFailedException
- RetriableCommitFailedException(Throwable) - Constructor for exception class org.apache.kafka.clients.consumer.RetriableCommitFailedException
- RetriableException - Exception Class in org.apache.kafka.common.errors
-
A retriable exception is a transient exception that if retried may succeed.
- RetriableException() - Constructor for exception class org.apache.kafka.common.errors.RetriableException
- RetriableException(String) - Constructor for exception class org.apache.kafka.common.errors.RetriableException
- RetriableException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.RetriableException
- RetriableException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.RetriableException
- RETRIES_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- RETRIES_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
retries
- RETRY_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
retry.backoff.max.ms
- RETRY_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
retry.backoff.max.ms
- RETRY_BACKOFF_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
retry.backoff.max.ms
- RETRY_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
retry.backoff.ms
- RETRY_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
retry.backoff.ms
- RETRY_BACKOFF_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
retry.backoff.ms
- retryOnQuotaViolation(boolean) - Method in class org.apache.kafka.clients.admin.CreatePartitionsOptions
-
Set to true if quota violation should be automatically retried.
- retryOnQuotaViolation(boolean) - Method in class org.apache.kafka.clients.admin.CreateTopicsOptions
-
Set to true if quota violation should be automatically retried.
- retryOnQuotaViolation(boolean) - Method in class org.apache.kafka.clients.admin.DeleteTopicsOptions
-
Set to true if quota violation should be automatically retried.
- ROUNDROBIN_ASSIGNOR_NAME - Static variable in class org.apache.kafka.clients.consumer.RoundRobinAssignor
- RoundRobinAssignor - Class in org.apache.kafka.clients.consumer
-
The round robin assignor lays out all the available partitions and all the available consumers.
- RoundRobinAssignor() - Constructor for class org.apache.kafka.clients.consumer.RoundRobinAssignor
- RoundRobinPartitioner - Class in org.apache.kafka.clients.producer
-
The "Round-Robin" partitioner This partitioning strategy can be used when user wants to distribute the writes to all partitions equally.
- RoundRobinPartitioner() - Constructor for class org.apache.kafka.clients.producer.RoundRobinPartitioner
S
- SAFE_DOWNGRADE - Enum constant in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- salt() - Method in class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
- salt() - Method in class org.apache.kafka.common.security.scram.ScramCredential
-
Returns the salt used to process this credential using the SCRAM algorithm.
- SampledStat - Class in org.apache.kafka.common.metrics.stats
-
A SampledStat records a single scalar value measured over one or more samples.
- SampledStat(double) - Constructor for class org.apache.kafka.common.metrics.stats.SampledStat
- samples() - Method in class org.apache.kafka.common.metrics.MetricConfig
- samples(int) - Method in class org.apache.kafka.common.metrics.MetricConfig
- SASL_CLIENT_CALLBACK_HANDLER_CLASS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_CLIENT_CALLBACK_HANDLER_CLASS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_JAAS_CONFIG - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_JAAS_CONFIG_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_KINIT_CMD - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_KINIT_CMD_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_MIN_TIME_BEFORE_RELOGIN - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_MIN_TIME_BEFORE_RELOGIN_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_SERVICE_NAME - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_SERVICE_NAME_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_TICKET_RENEW_JITTER - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_TICKET_RENEW_JITTER_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_TICKET_RENEW_WINDOW_FACTOR - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_KERBEROS_TICKET_RENEW_WINDOW_FACTOR_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CALLBACK_HANDLER_CLASS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CALLBACK_HANDLER_CLASS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CLASS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CLASS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CONNECT_TIMEOUT_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_CONNECT_TIMEOUT_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_READ_TIMEOUT_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_READ_TIMEOUT_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_BUFFER_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_BUFFER_SECONDS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_MIN_PERIOD_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_MIN_PERIOD_SECONDS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_WINDOW_FACTOR - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_WINDOW_FACTOR_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_WINDOW_JITTER - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_REFRESH_WINDOW_JITTER_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_RETRY_BACKOFF_MAX_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_RETRY_BACKOFF_MAX_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_RETRY_BACKOFF_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_LOGIN_RETRY_BACKOFF_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_MECHANISM - Static variable in class org.apache.kafka.common.config.SaslConfigs
-
SASL mechanism configuration - standard mechanism names are listed here.
- SASL_MECHANISM_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_CLOCK_SKEW_SECONDS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_CLOCK_SKEW_SECONDS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_EXPECTED_AUDIENCE - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_EXPECTED_AUDIENCE_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_EXPECTED_ISSUER - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_EXPECTED_ISSUER_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_HEADER_URLENCODE - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_HEADER_URLENCODE_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_REFRESH_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_REFRESH_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MAX_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MAX_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MS - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_RETRY_BACKOFF_MS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_URL - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_JWKS_ENDPOINT_URL_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_SCOPE_CLAIM_NAME - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_SCOPE_CLAIM_NAME_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_SUB_CLAIM_NAME - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_SUB_CLAIM_NAME_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_TOKEN_ENDPOINT_URL - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_OAUTHBEARER_TOKEN_ENDPOINT_URL_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
- SASL_PLAINTEXT - Enum constant in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
SASL authenticated, non-encrypted channel
- SASL_SSL - Enum constant in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
SASL authenticated, SSL channel
- SaslAuthenticationContext - Class in org.apache.kafka.common.security.auth
- SaslAuthenticationContext(SaslServer, SecurityProtocol, InetAddress, String) - Constructor for class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- SaslAuthenticationContext(SaslServer, SecurityProtocol, InetAddress, String, Optional<SSLSession>) - Constructor for class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- SaslAuthenticationException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that SASL authentication has failed.
- SaslAuthenticationException(String) - Constructor for exception class org.apache.kafka.common.errors.SaslAuthenticationException
- SaslAuthenticationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.SaslAuthenticationException
- SaslConfigs - Class in org.apache.kafka.common.config
- SaslConfigs() - Constructor for class org.apache.kafka.common.config.SaslConfigs
- SaslExtensions - Class in org.apache.kafka.common.security.auth
-
A simple immutable value object class holding customizable SASL extensions.
- SaslExtensions(Map<String, String>) - Constructor for class org.apache.kafka.common.security.auth.SaslExtensions
- SaslExtensionsCallback - Class in org.apache.kafka.common.security.auth
-
Optional callback used for SASL mechanisms if any extensions need to be set in the SASL exchange.
- SaslExtensionsCallback() - Constructor for class org.apache.kafka.common.security.auth.SaslExtensionsCallback
- scheduleNopPollTask() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- schedulePollTask(Runnable) - Method in class org.apache.kafka.clients.consumer.MockConsumer
-
Schedule a task to be executed during a poll().
- scope() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
The token's scope of access, as per RFC 6749 Section 1.4
- SCOPE_CONFIG - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- SCOPE_DOC - Static variable in class org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler
- SCRAM_SHA_256 - Enum constant in enum class org.apache.kafka.clients.admin.ScramMechanism
- SCRAM_SHA_512 - Enum constant in enum class org.apache.kafka.clients.admin.ScramMechanism
- scramCredential() - Method in class org.apache.kafka.common.security.scram.ScramCredentialCallback
-
Returns the SCRAM credential if set on this instance.
- scramCredential(ScramCredential) - Method in class org.apache.kafka.common.security.scram.ScramCredentialCallback
-
Sets the SCRAM credential for this instance.
- ScramCredential - Class in org.apache.kafka.common.security.scram
-
SCRAM credential class that encapsulates the credential data persisted for each user that is accessible to the server.
- ScramCredential(byte[], byte[], byte[], int) - Constructor for class org.apache.kafka.common.security.scram.ScramCredential
-
Constructs a new credential.
- ScramCredentialCallback - Class in org.apache.kafka.common.security.scram
-
Callback used for SCRAM mechanisms.
- ScramCredentialCallback() - Constructor for class org.apache.kafka.common.security.scram.ScramCredentialCallback
- ScramCredentialInfo - Class in org.apache.kafka.clients.admin
-
Mechanism and iterations for a SASL/SCRAM credential associated with a user.
- ScramCredentialInfo(ScramMechanism, int) - Constructor for class org.apache.kafka.clients.admin.ScramCredentialInfo
- ScramExtensionsCallback - Class in org.apache.kafka.common.security.scram
-
Optional callback used for SCRAM mechanisms if any extensions need to be set in the SASL/SCRAM exchange.
- ScramExtensionsCallback() - Constructor for class org.apache.kafka.common.security.scram.ScramExtensionsCallback
- ScramLoginModule - Class in org.apache.kafka.common.security.scram
- ScramLoginModule() - Constructor for class org.apache.kafka.common.security.scram.ScramLoginModule
- ScramMechanism - Enum Class in org.apache.kafka.clients.admin
-
Representation of a SASL/SCRAM Mechanism.
- SECURITY_PROTOCOL_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- SECURITY_PROVIDERS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
security.providers
- SECURITY_PROVIDERS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
security.providers
- SECURITY_PROVIDERS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
security.providers
- SECURITY_PROVIDERS_CONFIG - Static variable in class org.apache.kafka.common.config.SecurityConfig
- SECURITY_PROVIDERS_DOC - Static variable in class org.apache.kafka.common.config.SecurityConfig
- SecurityConfig - Class in org.apache.kafka.common.config
-
Contains the common security config for SSL and SASL
- SecurityConfig() - Constructor for class org.apache.kafka.common.config.SecurityConfig
- SecurityDisabledException - Exception Class in org.apache.kafka.common.errors
-
An error indicating that security is disabled on the broker.
- SecurityDisabledException(String) - Constructor for exception class org.apache.kafka.common.errors.SecurityDisabledException
- SecurityDisabledException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.SecurityDisabledException
- securityProtocol() - Method in class org.apache.kafka.common.Endpoint
-
Returns the security protocol of this endpoint.
- securityProtocol() - Method in interface org.apache.kafka.common.security.auth.AuthenticationContext
-
Underlying security protocol of the authentication session.
- securityProtocol() - Method in class org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
- securityProtocol() - Method in class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- securityProtocol() - Method in class org.apache.kafka.common.security.auth.SslAuthenticationContext
- securityProtocol() - Method in interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
-
Returns the security protocol for the listener on which request was received.
- SecurityProtocol - Enum Class in org.apache.kafka.common.security.auth
- SecurityProviderCreator - Interface in org.apache.kafka.common.security.auth
-
An interface for generating security providers.
- seek(TopicPartition, long) - Method in interface org.apache.kafka.clients.consumer.Consumer
- seek(TopicPartition, long) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Overrides the fetch offsets that the consumer will use on the next
poll(timeout)
. - seek(TopicPartition, long) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- seek(TopicPartition, OffsetAndMetadata) - Method in interface org.apache.kafka.clients.consumer.Consumer
- seek(TopicPartition, OffsetAndMetadata) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Overrides the fetch offsets that the consumer will use on the next
poll(timeout)
. - seek(TopicPartition, OffsetAndMetadata) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- seekToBeginning(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- seekToBeginning(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Seek to the first offset for each of the given partitions.
- seekToBeginning(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- seekToEnd(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- seekToEnd(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Seek to the last offset for each of the given partitions.
- seekToEnd(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- SEGMENT_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_INDEX_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_INDEX_BYTES_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_JITTER_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_JITTER_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- SEGMENT_MS_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- send(ProducerRecord<K, V>) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Asynchronously send a record to a topic.
- send(ProducerRecord<K, V>) - Method in class org.apache.kafka.clients.producer.MockProducer
-
Adds the record to the list of sent records.
- send(ProducerRecord<K, V>) - Method in interface org.apache.kafka.clients.producer.Producer
- send(ProducerRecord<K, V>, Callback) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Asynchronously send a record to a topic and invoke the provided callback when the send has been acknowledged.
- send(ProducerRecord<K, V>, Callback) - Method in class org.apache.kafka.clients.producer.MockProducer
-
Adds the record to the list of sent records.
- send(ProducerRecord<K, V>, Callback) - Method in interface org.apache.kafka.clients.producer.Producer
- SEND_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
- SEND_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
send.buffer.bytes
- SEND_BUFFER_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
send.buffer.bytes
- sendException - Variable in class org.apache.kafka.clients.producer.MockProducer
- sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, ConsumerGroupMetadata) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Sends a list of specified offsets to the consumer group coordinator, and also marks those offsets as part of the current transaction.
- sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, ConsumerGroupMetadata) - Method in class org.apache.kafka.clients.producer.MockProducer
- sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, ConsumerGroupMetadata) - Method in interface org.apache.kafka.clients.producer.Producer
- sendOffsetsToTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
- sensor(String) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and no parent sensors.
- sensor(String, MetricConfig, long, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- sensor(String, MetricConfig, long, Sensor.RecordingLevel, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- sensor(String, MetricConfig, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- sensor(String, MetricConfig, Sensor.RecordingLevel, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- sensor(String, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- sensor(String, Sensor.RecordingLevel) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and no parent sensors and with a given recording level.
- sensor(String, Sensor.RecordingLevel, Sensor...) - Method in class org.apache.kafka.common.metrics.Metrics
-
Get or create a sensor with the given unique name and zero or more parent sensors.
- Sensor - Class in org.apache.kafka.common.metrics
-
A sensor applies a continuous sequence of numerical values to a set of associated metrics.
- Sensor.RecordingLevel - Enum Class in org.apache.kafka.common.metrics
- sentOffsets() - Method in class org.apache.kafka.clients.producer.MockProducer
- Serde<T> - Interface in org.apache.kafka.common.serialization
-
The interface for wrapping a serializer and deserializer for the given data type.
- serdeFrom(Class<T>) - Static method in class org.apache.kafka.common.serialization.Serdes
- serdeFrom(Serializer<T>, Deserializer<T>) - Static method in class org.apache.kafka.common.serialization.Serdes
-
Construct a serde object from separate serializer and deserializer
- Serdes - Class in org.apache.kafka.common.serialization
-
Factory for creating serializers / deserializers.
- Serdes() - Constructor for class org.apache.kafka.common.serialization.Serdes
- Serdes.BooleanSerde - Class in org.apache.kafka.common.serialization
- Serdes.ByteArraySerde - Class in org.apache.kafka.common.serialization
- Serdes.ByteBufferSerde - Class in org.apache.kafka.common.serialization
- Serdes.BytesSerde - Class in org.apache.kafka.common.serialization
- Serdes.DoubleSerde - Class in org.apache.kafka.common.serialization
- Serdes.FloatSerde - Class in org.apache.kafka.common.serialization
- Serdes.IntegerSerde - Class in org.apache.kafka.common.serialization
- Serdes.ListSerde<Inner> - Class in org.apache.kafka.common.serialization
- Serdes.LongSerde - Class in org.apache.kafka.common.serialization
- Serdes.ShortSerde - Class in org.apache.kafka.common.serialization
- Serdes.StringSerde - Class in org.apache.kafka.common.serialization
- Serdes.UUIDSerde - Class in org.apache.kafka.common.serialization
- Serdes.VoidSerde - Class in org.apache.kafka.common.serialization
- Serdes.WrapperSerde<T> - Class in org.apache.kafka.common.serialization
- SerializationException - Exception Class in org.apache.kafka.common.errors
-
Any exception during serialization in the producer
- SerializationException() - Constructor for exception class org.apache.kafka.common.errors.SerializationException
- SerializationException(String) - Constructor for exception class org.apache.kafka.common.errors.SerializationException
- SerializationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.SerializationException
- SerializationException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.SerializationException
- serialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ByteArraySerializer
- serialize(String, Boolean) - Method in class org.apache.kafka.common.serialization.BooleanSerializer
- serialize(String, Double) - Method in class org.apache.kafka.common.serialization.DoubleSerializer
- serialize(String, Float) - Method in class org.apache.kafka.common.serialization.FloatSerializer
- serialize(String, Integer) - Method in class org.apache.kafka.common.serialization.IntegerSerializer
- serialize(String, Long) - Method in class org.apache.kafka.common.serialization.LongSerializer
- serialize(String, Short) - Method in class org.apache.kafka.common.serialization.ShortSerializer
- serialize(String, String) - Method in class org.apache.kafka.common.serialization.StringSerializer
- serialize(String, Void) - Method in class org.apache.kafka.common.serialization.VoidSerializer
- serialize(String, ByteBuffer) - Method in class org.apache.kafka.common.serialization.ByteBufferSerializer
- serialize(String, List<Inner>) - Method in class org.apache.kafka.common.serialization.ListSerializer
- serialize(String, UUID) - Method in class org.apache.kafka.common.serialization.UUIDSerializer
- serialize(String, Headers, T) - Method in interface org.apache.kafka.common.serialization.Serializer
-
Convert
data
into a byte array. - serialize(String, Bytes) - Method in class org.apache.kafka.common.serialization.BytesSerializer
- serialize(String, T) - Method in interface org.apache.kafka.common.serialization.Serializer
-
Convert
data
into a byte array. - serialize(KafkaPrincipal) - Method in interface org.apache.kafka.common.security.auth.KafkaPrincipalSerde
-
Serialize a
KafkaPrincipal
into byte array. - serializedKeySize() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The size of the serialized, uncompressed key in bytes.
- serializedKeySize() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The size of the serialized, uncompressed key in bytes.
- serializedValueSize() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The size of the serialized, uncompressed value in bytes.
- serializedValueSize() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The size of the serialized, uncompressed value in bytes.
- serializer() - Method in interface org.apache.kafka.common.serialization.Serde
- serializer() - Method in class org.apache.kafka.common.serialization.Serdes.WrapperSerde
- Serializer<T> - Interface in org.apache.kafka.common.serialization
-
An interface for converting objects to bytes.
- server() - Method in class org.apache.kafka.common.security.auth.SaslAuthenticationContext
- serverKey() - Method in class org.apache.kafka.common.security.scram.ScramCredential
-
Server key computed from the client password using the SCRAM algorithm.
- serviceName() - Method in interface org.apache.kafka.common.security.auth.Login
-
Returns the service name to be used for SASL.
- session() - Method in class org.apache.kafka.common.security.auth.SslAuthenticationContext
- SESSION_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
session.timeout.ms
- SET - Enum constant in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
Set the value of the configuration entry.
- setAcknowledgementCommitCallback(AcknowledgementCommitCallback) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Sets the acknowledgement commit callback which can be used to handle acknowledgement completion.
- setAcknowledgementCommitCallback(AcknowledgementCommitCallback) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- setAcknowledgementCommitCallback(AcknowledgementCommitCallback) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- setClientInstanceId(Uuid) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- setClientInstanceId(Uuid) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- setClientInstanceId(Uuid) - Method in class org.apache.kafka.clients.producer.MockProducer
- setClusterId(Optional<String>) - Method in class org.apache.kafka.clients.admin.AddRaftVoterOptions
- setClusterId(Optional<String>) - Method in class org.apache.kafka.clients.admin.RemoveRaftVoterOptions
- setExpiryTimestamp(long) - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- setGroupInstanceId(Optional<String>) - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- setMockMetrics(MetricName, Metric) - Method in class org.apache.kafka.clients.producer.MockProducer
-
Set a mock metric for testing purpose
- setOffsetsException(KafkaException) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- setPollException(KafkaException) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- SHARE - Enum constant in enum class org.apache.kafka.common.GroupType
- ShareConsumer<K,
V> - Interface in org.apache.kafka.clients.consumer - ShareGroupDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single share group in the cluster.
- ShareGroupDescription(String, Collection<ShareMemberDescription>, GroupState, Node) - Constructor for class org.apache.kafka.clients.admin.ShareGroupDescription
- ShareGroupDescription(String, Collection<ShareMemberDescription>, GroupState, Node, Set<AclOperation>) - Constructor for class org.apache.kafka.clients.admin.ShareGroupDescription
- Share Groups and Topic Subscriptions - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- ShareMemberAssignment - Class in org.apache.kafka.clients.admin
-
A description of the assignments of a specific share group member.
- ShareMemberAssignment(Set<TopicPartition>) - Constructor for class org.apache.kafka.clients.admin.ShareMemberAssignment
-
Creates an instance with the specified parameters.
- ShareMemberDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single share group member in the cluster.
- ShareMemberDescription(String, String, String, ShareMemberAssignment) - Constructor for class org.apache.kafka.clients.admin.ShareMemberDescription
- ShareSessionNotFoundException - Exception Class in org.apache.kafka.common.errors
-
Thrown when the share session was not found.
- ShareSessionNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.ShareSessionNotFoundException
- Short() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
Short
type. - SHORT - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- SHORT - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for numerical values within the Java Short range.
- SHORT - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Width
- ShortDeserializer - Class in org.apache.kafka.common.serialization
- ShortDeserializer() - Constructor for class org.apache.kafka.common.serialization.ShortDeserializer
- ShortSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.ShortSerde
- ShortSerializer - Class in org.apache.kafka.common.serialization
- ShortSerializer() - Constructor for class org.apache.kafka.common.serialization.ShortSerializer
- shouldBeRebuilt(Map<String, Object>) - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Returns true if
SSLEngine
needs to be rebuilt. - shouldListInternal() - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
-
Return true if we should list internal topics.
- shouldRebalance() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- shouldRecord() - Method in class org.apache.kafka.common.metrics.Sensor
- shouldRecord(int) - Method in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- shouldRetryOnQuotaViolation() - Method in class org.apache.kafka.clients.admin.CreatePartitionsOptions
-
Returns true if quota violation should be automatically retried.
- shouldRetryOnQuotaViolation() - Method in class org.apache.kafka.clients.admin.CreateTopicsOptions
-
Returns true if quota violation should be automatically retried.
- shouldRetryOnQuotaViolation() - Method in class org.apache.kafka.clients.admin.DeleteTopicsOptions
-
Returns true if quota violation should be automatically retried.
- shouldValidateOnly() - Method in class org.apache.kafka.clients.admin.AlterConfigsOptions
-
Return true if the request should be validated without altering the configs.
- shouldValidateOnly() - Method in class org.apache.kafka.clients.admin.CreateTopicsOptions
-
Return true if the request should be validated without creating the topic.
- SimpleRate - Class in org.apache.kafka.common.metrics.stats
-
A simple rate the rate is incrementally calculated based on the elapsed time between the earliest reading and now.
- SimpleRate() - Constructor for class org.apache.kafka.common.metrics.stats.SimpleRate
- size() - Method in class org.apache.kafka.clients.admin.ReplicaInfo
-
The total size of the log segments in this replica in bytes.
- SnapshotNotFoundException - Exception Class in org.apache.kafka.common.errors
- SnapshotNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.SnapshotNotFoundException
- SnapshotNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.SnapshotNotFoundException
- SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
socket.connection.setup.timeout.max.ms
- SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
socket.connection.setup.timeout.max.ms
- SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
socket.connection.setup.timeout.max.ms
- SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.admin.AdminClientConfig
-
socket.connection.setup.timeout.ms
- SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
socket.connection.setup.timeout.ms
- SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
socket.connection.setup.timeout.ms
- source() - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
-
Returns the source of this configuration.
- source() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return the source of this configuration entry.
- SSL - Enum constant in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
SSL channel
- SSL_CIPHER_SUITES_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_CIPHER_SUITES_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENABLED_PROTOCOLS_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENABLED_PROTOCOLS_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENGINE_FACTORY_CLASS_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_ENGINE_FACTORY_CLASS_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEY_PASSWORD_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEY_PASSWORD_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYMANAGER_ALGORITHM_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYMANAGER_ALGORITHM_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_CERTIFICATE_CHAIN_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_CERTIFICATE_CHAIN_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_KEY_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_KEY_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_LOCATION_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_LOCATION_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_PASSWORD_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_PASSWORD_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_TYPE_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_KEYSTORE_TYPE_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_PROTOCOL_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_PROTOCOL_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_PROVIDER_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_PROVIDER_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_SECURE_RANDOM_IMPLEMENTATION_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_SECURE_RANDOM_IMPLEMENTATION_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTMANAGER_ALGORITHM_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTMANAGER_ALGORITHM_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_CERTIFICATES_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_CERTIFICATES_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_LOCATION_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_LOCATION_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_PASSWORD_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_PASSWORD_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_TYPE_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
- SSL_TRUSTSTORE_TYPE_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
- SslAuthenticationContext - Class in org.apache.kafka.common.security.auth
- SslAuthenticationContext(SSLSession, InetAddress, String) - Constructor for class org.apache.kafka.common.security.auth.SslAuthenticationContext
- SslAuthenticationException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that SSL handshake has failed.
- SslAuthenticationException(String) - Constructor for exception class org.apache.kafka.common.errors.SslAuthenticationException
- SslAuthenticationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.SslAuthenticationException
- SslClientAuth - Enum Class in org.apache.kafka.common.config
-
Describes whether the server should require or request client authentication.
- SslConfigs - Class in org.apache.kafka.common.config
- SslConfigs() - Constructor for class org.apache.kafka.common.config.SslConfigs
- SslEngineFactory - Interface in org.apache.kafka.common.security.auth
-
Plugin interface for allowing creation of
SSLEngine
object in a custom way. - sslSession() - Method in class org.apache.kafka.common.security.auth.SaslAuthenticationContext
-
Returns SSL session for the connection if security protocol is SASL_SSL.
- STABLE - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- STABLE - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- STABLE - Enum constant in enum class org.apache.kafka.common.GroupState
- StaleBrokerEpochException - Exception Class in org.apache.kafka.common.errors
- StaleBrokerEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.StaleBrokerEpochException
- StaleBrokerEpochException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.StaleBrokerEpochException
- StaleMemberEpochException - Exception Class in org.apache.kafka.common.errors
-
The StaleMemberEpochException is used in the context of the new consumer group protocol (KIP-848).
- StaleMemberEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.StaleMemberEpochException
- start(AuthorizerServerInfo) - Method in interface org.apache.kafka.server.authorizer.Authorizer
-
Starts loading authorization metadata and returns futures that can be used to wait until metadata for authorizing requests on each listener is available.
- startTimeMs() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
When the credential became valid, in terms of the number of milliseconds since the epoch, if known, otherwise null.
- stat() - Method in class org.apache.kafka.common.metrics.CompoundStat.NamedMeasurable
- Stat - Interface in org.apache.kafka.common.metrics
-
A Stat is a quantity such as average, max, etc that is computed off the stream of updates to a sensor
- state() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
-
The classic group state, or UNKNOWN if the state is too new for us to parse.
- state() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
Deprecated.Since 4.0. Use
ConsumerGroupDescription.groupState()
instead. - state() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
-
Deprecated.Since 4.0. Use
ConsumerGroupListing.groupState()
instead. - state() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- state() - Method in class org.apache.kafka.clients.admin.TransactionListing
- states() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
Deprecated.Since 4.0. Use
ListConsumerGroupsOptions.inGroupStates(Set)
instead. - STATIC_BROKER_CONFIG - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- stats() - Method in interface org.apache.kafka.common.metrics.CompoundStat
- stats() - Method in class org.apache.kafka.common.metrics.stats.Frequencies
- stats() - Method in class org.apache.kafka.common.metrics.stats.Meter
- stats() - Method in class org.apache.kafka.common.metrics.stats.Percentiles
- STICKY_ASSIGNOR_NAME - Static variable in class org.apache.kafka.clients.consumer.StickyAssignor
- StickyAssignor - Class in org.apache.kafka.clients.consumer
-
The sticky assignor serves two purposes.
- StickyAssignor() - Constructor for class org.apache.kafka.clients.consumer.StickyAssignor
- storedKey() - Method in class org.apache.kafka.common.security.scram.ScramCredential
-
Stored key computed from the client password using the SCRAM algorithm.
- Storing Offsets Outside Kafka - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- strict() - Method in class org.apache.kafka.common.quota.ClientQuotaFilter
- String() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
String
type. - STRING - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- STRING - Enum constant in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Used for string values.
- StringDeserializer - Class in org.apache.kafka.common.serialization
-
String encoding defaults to UTF8 and can be customized by setting the property key.deserializer.encoding, value.deserializer.encoding or deserializer.encoding.
- StringDeserializer() - Constructor for class org.apache.kafka.common.serialization.StringDeserializer
- StringSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.StringSerde
- StringSerializer - Class in org.apache.kafka.common.serialization
-
String encoding defaults to UTF8 and can be customized by setting the property key.serializer.encoding, value.serializer.encoding or serializer.encoding.
- StringSerializer() - Constructor for class org.apache.kafka.common.serialization.StringSerializer
- subject() - Method in interface org.apache.kafka.common.security.auth.Login
-
Returns the authenticated subject of this login context.
- subscribe(String, Set<String>, ConfigChangeCallback) - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
-
Subscribes to changes for the given keys at the given path (optional operation).
- subscribe(Collection<String>) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(Collection<String>) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to the given list of topics to get dynamically assigned partitions.
- subscribe(Collection<String>) - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Subscribe to the given list of topics to get dynamically assigned partitions.
- subscribe(Collection<String>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscribe(Collection<String>) - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- subscribe(Collection<String>) - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- subscribe(Collection<String>, ConsumerRebalanceListener) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(Collection<String>, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to the given list of topics to get dynamically assigned partitions.
- subscribe(Collection<String>, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscribe(Pattern) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(Pattern) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
- subscribe(Pattern) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscribe(Pattern, ConsumerRebalanceListener) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(Pattern, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to all topics matching specified pattern to get dynamically assigned partitions.
- subscribe(Pattern, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscribe(SubscriptionPattern) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(SubscriptionPattern) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to all topics matching the specified pattern, to get dynamically assigned partitions.
- subscribe(SubscriptionPattern) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscribe(SubscriptionPattern, ConsumerRebalanceListener) - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscribe(SubscriptionPattern, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Subscribe to all topics matching the specified pattern, to get dynamically assigned partitions.
- subscribe(SubscriptionPattern, ConsumerRebalanceListener) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscription() - Method in interface org.apache.kafka.clients.consumer.Consumer
- subscription() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Get the current subscription.
- subscription() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Get the current subscription.
- subscription() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- subscription() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- subscription() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- Subscription(List<String>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- Subscription(List<String>, ByteBuffer) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- Subscription(List<String>, ByteBuffer, List<TopicPartition>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- Subscription(List<String>, ByteBuffer, List<TopicPartition>, int, Optional<String>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- SubscriptionPattern - Class in org.apache.kafka.clients.consumer
-
Represents a regular expression compatible with Google RE2/J, used to subscribe to topics.
- SubscriptionPattern(String) - Constructor for class org.apache.kafka.clients.consumer.SubscriptionPattern
- subscriptionUserData(Set<String>) - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Return serialized data that will be included in the
ConsumerPartitionAssignor.Subscription
sent to the leader and can be leveraged inConsumerPartitionAssignor.assign(Cluster, GroupSubscription)
((e.g. - subscriptionUserData(Set<String>) - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- subscriptionUserData(Set<String>) - Method in class org.apache.kafka.clients.consumer.StickyAssignor
- SUBTRACT - Enum constant in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
(For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry.
- SUCCESS - Static variable in class org.apache.kafka.server.authorizer.AclCreateResult
- supportedFeatures() - Method in class org.apache.kafka.clients.admin.FeatureMetadata
-
Returns a map of supported feature versions.
- supportedProtocols() - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Indicate which rebalance protocol this assignor works with; By default it should always work with
ConsumerPartitionAssignor.RebalanceProtocol.EAGER
. - supportedProtocols() - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
- SupportedVersionRange - Class in org.apache.kafka.clients.admin
-
Represents a range of versions that a particular broker supports for some feature.
- SupportedVersionRange(short, short) - Constructor for class org.apache.kafka.clients.admin.SupportedVersionRange
-
Raises an exception unless the following conditions are met: 0 <= minVersion <= maxVersion.
- synonyms() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Returns all config values that may be used as the value of this config along with their source, in the order of precedence.
T
- tags() - Method in class org.apache.kafka.common.MetricName
- tags() - Method in class org.apache.kafka.common.MetricNameTemplate
-
Get the set of tag names for the metric.
- tags() - Method in class org.apache.kafka.common.metrics.MetricConfig
- tags(Map<String, String>) - Method in class org.apache.kafka.common.metrics.MetricConfig
- targetAssignment() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The target assignment of the member.
- targetAssignmentEpoch() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The epoch of the target assignment.
- targetReplicas() - Method in class org.apache.kafka.clients.admin.NewPartitionReassignment
- TelemetryTooLargeException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that the size of the telemetry metrics data is too large.
- TelemetryTooLargeException(String) - Constructor for exception class org.apache.kafka.common.errors.TelemetryTooLargeException
- thenApply(KafkaFuture.BaseFunction<T, R>) - Method in class org.apache.kafka.common.KafkaFuture
-
Returns a new KafkaFuture that, when this future completes normally, is executed with this futures's result as the argument to the supplied function.
- throttleTimeMs() - Method in exception class org.apache.kafka.common.errors.ThrottlingQuotaExceededException
- ThrottlingQuotaExceededException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown if an operation on a resource exceeds the throttling quota.
- ThrottlingQuotaExceededException(int, String) - Constructor for exception class org.apache.kafka.common.errors.ThrottlingQuotaExceededException
- ThrottlingQuotaExceededException(String) - Constructor for exception class org.apache.kafka.common.errors.ThrottlingQuotaExceededException
- TimeoutException - Exception Class in org.apache.kafka.common.errors
-
Indicates that a request timed out.
- TimeoutException() - Constructor for exception class org.apache.kafka.common.errors.TimeoutException
- TimeoutException(String) - Constructor for exception class org.apache.kafka.common.errors.TimeoutException
- TimeoutException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.TimeoutException
- TimeoutException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.TimeoutException
- timeoutMs() - Method in class org.apache.kafka.clients.admin.AbstractOptions
-
The timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.AbstractOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.AlterConfigsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.CreateAclsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.CreateTopicsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DeleteAclsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DeleteTopicsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DescribeAclsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DescribeConfigsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timeoutMs(Integer) - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
-
Set the timeout in milliseconds for this operation or
null
if the default api timeout for the AdminClient should be used. - timestamp() - Method in class org.apache.kafka.clients.admin.ListOffsetsResult.ListOffsetsResultInfo
- timestamp() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The timestamp of this record, in milliseconds elapsed since unix epoch.
- timestamp() - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- timestamp() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- timestamp() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The timestamp of the record in the topic/partition.
- timestamp() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- timestampType() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The timestamp type of this record
- timestampType() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- timeWindow(long, TimeUnit) - Method in class org.apache.kafka.common.metrics.MetricConfig
- timeWindowMs() - Method in class org.apache.kafka.common.metrics.MetricConfig
- toArray() - Method in interface org.apache.kafka.common.header.Headers
-
Returns all headers as an array, in the order they were added in.
- toArray(List<Uuid>) - Static method in class org.apache.kafka.common.Uuid
-
Convert a list of Uuid to an array of Uuid.
- toBin(double) - Method in interface org.apache.kafka.common.metrics.stats.Histogram.BinScheme
-
Determine the 0-based bin number in which the supplied value should be placed.
- toBin(double) - Method in class org.apache.kafka.common.metrics.stats.Histogram.ConstantBinScheme
- toBin(double) - Method in class org.apache.kafka.common.metrics.stats.Histogram.LinearBinScheme
- toCompletionStage() - Method in class org.apache.kafka.common.KafkaFuture
-
Gets a
CompletionStage
with the same completion properties as thisKafkaFuture
. - toEnrichedRst() - Method in class org.apache.kafka.common.config.ConfigDef
-
Configs with new metadata (group, orderInGroup, dependents) formatted with reStructuredText, suitable for embedding in Sphinx documentation.
- toFilter() - Method in class org.apache.kafka.common.acl.AccessControlEntry
-
Create a filter which matches only this AccessControlEntry.
- toFilter() - Method in class org.apache.kafka.common.acl.AclBinding
-
Create a filter which matches only this AclBinding.
- toFilter() - Method in class org.apache.kafka.common.resource.ResourcePattern
- toHtml() - Method in class org.apache.kafka.common.config.ConfigDef
- toHtml(int, Function<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Converts this config into an HTML list that can be embedded into docs.
- toHtml(int, Function<String, String>, Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Converts this config into an HTML list that can be embedded into docs.
- toHtml(Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Converts this config into an HTML list that can be embedded into docs.
- toHtmlTable() - Method in class org.apache.kafka.common.config.ConfigDef
- toHtmlTable(String, Iterable<MetricNameTemplate>) - Static method in class org.apache.kafka.common.metrics.Metrics
-
Use the specified domain and metric name templates to generate an HTML table documenting the metrics.
- toHtmlTable(Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Converts this config into an HTML table that can be embedded into docs.
- token() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- token() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Return the (potentially null) token
- token() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Return the (potentially null) token
- token(OAuthBearerToken) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerTokenCallback
-
Set the token.
- token(OAuthBearerToken) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Set the token.
- TOKEN_AUTH_CONFIG - Static variable in class org.apache.kafka.common.security.scram.ScramLoginModule
- tokenAuthenticated() - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- tokenAuthenticated(boolean) - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- TokenBucket - Class in org.apache.kafka.common.metrics.stats
-
The
TokenBucket
is aMeasurableStat
implementing a token bucket algorithm that is usable within aSensor
. - TokenBucket() - Constructor for class org.apache.kafka.common.metrics.stats.TokenBucket
- TokenBucket(TimeUnit) - Constructor for class org.apache.kafka.common.metrics.stats.TokenBucket
- tokenId() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- tokenInfo() - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- TokenInformation - Class in org.apache.kafka.common.security.token.delegation
-
A class representing a delegation token details.
- TokenInformation(String, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long) - Constructor for class org.apache.kafka.common.security.token.delegation.TokenInformation
- TokenInformation(String, KafkaPrincipal, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long) - Constructor for class org.apache.kafka.common.security.token.delegation.TokenInformation
- tokenRequester() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- tokenRequesterAsString() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- tokenValue() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
-
Return the (always non-null) token value
- toList(Uuid[]) - Static method in class org.apache.kafka.common.Uuid
-
Convert an array of Uuids to a list of Uuid.
- topic() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The topic this record is received from (never null)
- topic() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- topic() - Method in class org.apache.kafka.clients.producer.RecordMetadata
-
The topic the record was appended to
- topic() - Method in class org.apache.kafka.common.PartitionInfo
-
The topic name
- topic() - Method in class org.apache.kafka.common.TopicIdPartition
- topic() - Method in class org.apache.kafka.common.TopicPartition
- topic() - Method in class org.apache.kafka.common.TopicPartitionReplica
- topic() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
-
Return the name of the topic to create.
- TOPIC - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- TOPIC - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
A Kafka topic.
- TopicAuthorizationException - Exception Class in org.apache.kafka.common.errors
- TopicAuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.TopicAuthorizationException
- TopicAuthorizationException(String, Set<String>) - Constructor for exception class org.apache.kafka.common.errors.TopicAuthorizationException
- TopicAuthorizationException(Set<String>) - Constructor for exception class org.apache.kafka.common.errors.TopicAuthorizationException
- TopicCollection - Class in org.apache.kafka.common
-
A class used to represent a collection of topics.
- TopicCollection.TopicIdCollection - Class in org.apache.kafka.common
-
A class used to represent a collection of topics defined by their topic ID.
- TopicCollection.TopicNameCollection - Class in org.apache.kafka.common
-
A class used to represent a collection of topics defined by their topic name.
- TopicConfig - Class in org.apache.kafka.common.config
-
Keys that can be used to configure a topic.
- TopicConfig() - Constructor for class org.apache.kafka.common.config.TopicConfig
- TopicDeletionDisabledException - Exception Class in org.apache.kafka.common.errors
- TopicDeletionDisabledException() - Constructor for exception class org.apache.kafka.common.errors.TopicDeletionDisabledException
- TopicDeletionDisabledException(String) - Constructor for exception class org.apache.kafka.common.errors.TopicDeletionDisabledException
- TopicDescription - Class in org.apache.kafka.clients.admin
-
A detailed description of a single topic in the cluster.
- TopicDescription(String, boolean, List<TopicPartitionInfo>) - Constructor for class org.apache.kafka.clients.admin.TopicDescription
-
Create an instance with the specified parameters.
- TopicDescription(String, boolean, List<TopicPartitionInfo>, Set<AclOperation>) - Constructor for class org.apache.kafka.clients.admin.TopicDescription
-
Create an instance with the specified parameters.
- TopicDescription(String, boolean, List<TopicPartitionInfo>, Set<AclOperation>, Uuid) - Constructor for class org.apache.kafka.clients.admin.TopicDescription
-
Create an instance with the specified parameters.
- TopicExistsException - Exception Class in org.apache.kafka.common.errors
- TopicExistsException(String) - Constructor for exception class org.apache.kafka.common.errors.TopicExistsException
- TopicExistsException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.TopicExistsException
- topicId() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- topicId() - Method in class org.apache.kafka.clients.admin.TopicDescription
- topicId() - Method in class org.apache.kafka.clients.admin.TopicListing
-
The id of the topic.
- topicId() - Method in class org.apache.kafka.common.TopicIdPartition
- topicId(String) - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Returns a future that provides topic ID for the topic when the request completes.
- topicId(String) - Method in class org.apache.kafka.common.Cluster
- TopicIdPartition - Class in org.apache.kafka.common
-
This represents universally unique identifier with topic id for a topic partition.
- TopicIdPartition(Uuid, int, String) - Constructor for class org.apache.kafka.common.TopicIdPartition
-
Create an instance with the provided parameters.
- TopicIdPartition(Uuid, TopicPartition) - Constructor for class org.apache.kafka.common.TopicIdPartition
-
Create an instance with the provided parameters.
- topicIds() - Method in class org.apache.kafka.common.Cluster
- topicIds() - Method in class org.apache.kafka.common.TopicCollection.TopicIdCollection
- topicIdValues() - Method in class org.apache.kafka.clients.admin.DeleteTopicsResult
-
Use when
Admin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicIdCollection - topicIdValues() - Method in class org.apache.kafka.clients.admin.DescribeTopicsResult
-
Use when
Admin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicIdCollection - TopicListing - Class in org.apache.kafka.clients.admin
-
A listing of a topic in the cluster.
- TopicListing(String, Uuid, boolean) - Constructor for class org.apache.kafka.clients.admin.TopicListing
-
Create an instance with the specified parameters.
- TopicMetadataAndConfig(ApiException) - Constructor for class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- TopicMetadataAndConfig(Uuid, int, int, Config) - Constructor for class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
- topicName(Uuid) - Method in class org.apache.kafka.common.Cluster
- topicNames() - Method in class org.apache.kafka.common.TopicCollection.TopicNameCollection
- topicNameValues() - Method in class org.apache.kafka.clients.admin.DeleteTopicsResult
-
Use when
Admin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicNameCollection - topicNameValues() - Method in class org.apache.kafka.clients.admin.DescribeTopicsResult
-
Use when
Admin.describeTopics(TopicCollection, DescribeTopicsOptions)
used a TopicNameCollection - topicPartition() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- topicPartition() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- topicPartition() - Method in class org.apache.kafka.common.TopicIdPartition
- TopicPartition - Class in org.apache.kafka.common
-
A topic name and partition number
- TopicPartition(String, int) - Constructor for class org.apache.kafka.common.TopicPartition
- TopicPartitionInfo - Class in org.apache.kafka.common
-
A class containing leadership, replicas and ISR information for a topic partition.
- TopicPartitionInfo(int, Node, List<Node>, List<Node>) - Constructor for class org.apache.kafka.common.TopicPartitionInfo
- TopicPartitionInfo(int, Node, List<Node>, List<Node>, List<Node>, List<Node>) - Constructor for class org.apache.kafka.common.TopicPartitionInfo
-
Create an instance of this class with the provided parameters.
- TopicPartitionReplica - Class in org.apache.kafka.common
-
The topic name, partition number and the brokerId of the replica
- TopicPartitionReplica(String, int, int) - Constructor for class org.apache.kafka.common.TopicPartitionReplica
- topicPartitions() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
-
Returns the topic partitions whose offsets are to be listed for a consumer group.
- topicPartitions() - Method in class org.apache.kafka.clients.admin.MemberAssignment
-
The topic partitions assigned to a group member.
- topicPartitions() - Method in class org.apache.kafka.clients.admin.ShareMemberAssignment
-
The topic partitions assigned to a group member.
- topicPartitions() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- topicPartitions(Collection<TopicPartition>) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
-
Set the topic partitions whose offsets are to be listed for a consumer group.
- topics() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- topics() - Method in class org.apache.kafka.common.Cluster
-
Get all topics.
- toRst() - Method in class org.apache.kafka.common.config.ConfigDef
-
Get the configs formatted with reStructuredText, suitable for embedding in Sphinx documentation.
- toString() - Method in class org.apache.kafka.clients.admin.AbortTransactionOptions
- toString() - Method in class org.apache.kafka.clients.admin.AbortTransactionSpec
- toString() - Method in class org.apache.kafka.clients.admin.AlterConfigOp
- toString() - Method in class org.apache.kafka.clients.admin.ClassicGroupDescription
- toString() - Method in class org.apache.kafka.clients.admin.ClientMetricsResourceListing
- toString() - Method in class org.apache.kafka.clients.admin.Config
- toString() - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
- toString() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Override toString to redact sensitive value.
- toString() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
- toString() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
- toString() - Method in class org.apache.kafka.clients.admin.DescribeProducersOptions
- toString() - Method in class org.apache.kafka.clients.admin.DescribeProducersResult.PartitionProducerState
- toString() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
- toString() - Method in class org.apache.kafka.clients.admin.DescribeTransactionsOptions
- toString() - Method in class org.apache.kafka.clients.admin.FeatureMetadata
- toString() - Method in class org.apache.kafka.clients.admin.FeatureUpdate
- toString() - Method in class org.apache.kafka.clients.admin.FenceProducersOptions
- toString() - Method in class org.apache.kafka.clients.admin.FinalizedVersionRange
- toString() - Method in class org.apache.kafka.clients.admin.GroupListing
- toString() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
- toString() - Method in class org.apache.kafka.clients.admin.ListOffsetsResult.ListOffsetsResultInfo
- toString() - Method in class org.apache.kafka.clients.admin.ListTopicsOptions
- toString() - Method in class org.apache.kafka.clients.admin.ListTransactionsOptions
- toString() - Method in class org.apache.kafka.clients.admin.LogDirDescription
- toString() - Method in class org.apache.kafka.clients.admin.MemberAssignment
- toString() - Method in class org.apache.kafka.clients.admin.MemberDescription
- toString() - Method in class org.apache.kafka.clients.admin.NewPartitions
- toString() - Method in class org.apache.kafka.clients.admin.NewTopic
- toString() - Method in class org.apache.kafka.clients.admin.PartitionReassignment
- toString() - Method in class org.apache.kafka.clients.admin.ProducerState
- toString() - Method in class org.apache.kafka.clients.admin.QuorumInfo.Node
- toString() - Method in class org.apache.kafka.clients.admin.QuorumInfo.ReplicaState
- toString() - Method in class org.apache.kafka.clients.admin.QuorumInfo
- toString() - Method in class org.apache.kafka.clients.admin.RaftVoterEndpoint
- toString() - Method in class org.apache.kafka.clients.admin.RecordsToDelete
- toString() - Method in class org.apache.kafka.clients.admin.ReplicaInfo
- toString() - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
- toString() - Method in class org.apache.kafka.clients.admin.ShareGroupDescription
- toString() - Method in class org.apache.kafka.clients.admin.ShareMemberAssignment
- toString() - Method in class org.apache.kafka.clients.admin.ShareMemberDescription
- toString() - Method in class org.apache.kafka.clients.admin.SupportedVersionRange
- toString() - Method in class org.apache.kafka.clients.admin.TopicDescription
- toString() - Method in class org.apache.kafka.clients.admin.TopicListing
- toString() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- toString() - Method in class org.apache.kafka.clients.admin.TransactionListing
- toString() - Method in enum class org.apache.kafka.clients.admin.TransactionState
- toString() - Method in class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- toString() - Method in enum class org.apache.kafka.clients.consumer.AcknowledgeType
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupAssignment
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupSubscription
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- toString() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
- toString() - Method in class org.apache.kafka.clients.consumer.OffsetAndMetadata
- toString() - Method in class org.apache.kafka.clients.consumer.OffsetAndTimestamp
- toString() - Method in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.
- toString() - Method in class org.apache.kafka.clients.consumer.SubscriptionPattern
- toString() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- toString() - Method in class org.apache.kafka.clients.producer.RecordMetadata
- toString() - Method in class org.apache.kafka.common.acl.AccessControlEntry
- toString() - Method in class org.apache.kafka.common.acl.AccessControlEntryFilter
- toString() - Method in class org.apache.kafka.common.acl.AclBinding
- toString() - Method in class org.apache.kafka.common.acl.AclBindingFilter
- toString() - Method in enum class org.apache.kafka.common.ClassicGroupState
- toString() - Method in class org.apache.kafka.common.Cluster
- toString() - Method in class org.apache.kafka.common.ClusterResource
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.CaseInsensitiveValidString
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.CompositeValidator
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.LambdaValidator
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.ListSize
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.NonEmptyString
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.NonNullValidator
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.Range
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.ValidList
- toString() - Method in class org.apache.kafka.common.config.ConfigDef.ValidString
- toString() - Method in class org.apache.kafka.common.config.ConfigResource
- toString() - Method in class org.apache.kafka.common.config.ConfigValue
- toString() - Method in enum class org.apache.kafka.common.config.SslClientAuth
- toString() - Method in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- toString() - Method in class org.apache.kafka.common.Endpoint
- toString() - Method in enum class org.apache.kafka.common.GroupState
- toString() - Method in enum class org.apache.kafka.common.GroupType
- toString() - Method in enum class org.apache.kafka.common.IsolationLevel
- toString() - Method in class org.apache.kafka.common.MetricName
- toString() - Method in class org.apache.kafka.common.MetricNameTemplate
- toString() - Method in class org.apache.kafka.common.metrics.Quota
- toString() - Method in exception class org.apache.kafka.common.metrics.QuotaViolationException
- toString() - Method in class org.apache.kafka.common.metrics.stats.CumulativeSum
- toString() - Method in class org.apache.kafka.common.metrics.stats.Frequency
- toString() - Method in class org.apache.kafka.common.metrics.stats.Histogram
- toString() - Method in class org.apache.kafka.common.metrics.stats.Meter
- toString() - Method in class org.apache.kafka.common.metrics.stats.Rate
- toString() - Method in class org.apache.kafka.common.metrics.stats.SampledStat
- toString() - Method in class org.apache.kafka.common.metrics.stats.TokenBucket
- toString() - Method in class org.apache.kafka.common.Node
- toString() - Method in class org.apache.kafka.common.PartitionInfo
- toString() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- toString() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration
- toString() - Method in class org.apache.kafka.common.quota.ClientQuotaEntity
- toString() - Method in class org.apache.kafka.common.quota.ClientQuotaFilter
- toString() - Method in class org.apache.kafka.common.quota.ClientQuotaFilterComponent
- toString() - Method in class org.apache.kafka.common.resource.Resource
- toString() - Method in class org.apache.kafka.common.resource.ResourcePattern
- toString() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
- toString() - Method in class org.apache.kafka.common.security.auth.KafkaPrincipal
- toString() - Method in class org.apache.kafka.common.security.auth.SaslExtensions
- toString() - Method in class org.apache.kafka.common.security.token.delegation.DelegationToken
- toString() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
- toString() - Method in class org.apache.kafka.common.TopicIdPartition
- toString() - Method in class org.apache.kafka.common.TopicPartition
- toString() - Method in class org.apache.kafka.common.TopicPartitionInfo
- toString() - Method in class org.apache.kafka.common.TopicPartitionReplica
- toString() - Method in class org.apache.kafka.common.Uuid
-
Returns a base64 string encoding of the UUID.
- toString() - Method in class org.apache.kafka.server.authorizer.Action
- toString() - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
- toString() - Method in class org.apache.kafka.server.policy.CreateTopicPolicy.RequestMetadata
- totalBytes() - Method in class org.apache.kafka.clients.admin.LogDirDescription
-
The total size of the volume this log directory is on or empty if the broker did not return a value.
- totalCount() - Method in class org.apache.kafka.clients.admin.NewPartitions
-
The total number of partitions after the operation succeeds.
- TRACE - Enum constant in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
- TRACE_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
TRACE
level designates finer-grained informational events than theDEBUG
level. - TRANSACTION_TIMEOUT_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
transaction.timeout.ms
- TRANSACTION_TIMEOUT_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- TransactionAbortableException - Exception Class in org.apache.kafka.common.errors
- TransactionAbortableException(String) - Constructor for exception class org.apache.kafka.common.errors.TransactionAbortableException
- transactionAborted() - Method in class org.apache.kafka.clients.producer.MockProducer
- TransactionAbortedException - Exception Class in org.apache.kafka.common.errors
-
This is the Exception thrown when we are aborting any undrained batches during a transaction which is aborted without any underlying cause - which likely means that the user chose to abort.
- TransactionAbortedException() - Constructor for exception class org.apache.kafka.common.errors.TransactionAbortedException
- TransactionAbortedException(String) - Constructor for exception class org.apache.kafka.common.errors.TransactionAbortedException
- TransactionAbortedException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.TransactionAbortedException
- TRANSACTIONAL_ID - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
A transactional ID.
- TRANSACTIONAL_ID_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
transactional.id
- TRANSACTIONAL_ID_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- transactionalId() - Method in class org.apache.kafka.clients.admin.TransactionListing
- TransactionalIdAuthorizationException - Exception Class in org.apache.kafka.common.errors
- TransactionalIdAuthorizationException(String) - Constructor for exception class org.apache.kafka.common.errors.TransactionalIdAuthorizationException
- TransactionalIdNotFoundException - Exception Class in org.apache.kafka.common.errors
- TransactionalIdNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.TransactionalIdNotFoundException
- transactionCommitted() - Method in class org.apache.kafka.clients.producer.MockProducer
- TransactionCoordinatorFencedException - Exception Class in org.apache.kafka.common.errors
- TransactionCoordinatorFencedException(String) - Constructor for exception class org.apache.kafka.common.errors.TransactionCoordinatorFencedException
- TransactionCoordinatorFencedException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.TransactionCoordinatorFencedException
- TransactionDescription - Class in org.apache.kafka.clients.admin
- TransactionDescription(int, TransactionState, long, int, long, OptionalLong, Set<TopicPartition>) - Constructor for class org.apache.kafka.clients.admin.TransactionDescription
- transactionInFlight() - Method in class org.apache.kafka.clients.producer.MockProducer
- transactionInitialized() - Method in class org.apache.kafka.clients.producer.MockProducer
- TransactionListing - Class in org.apache.kafka.clients.admin
- TransactionListing(String, long, TransactionState) - Constructor for class org.apache.kafka.clients.admin.TransactionListing
- transactionStartTimeMs() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- TransactionState - Enum Class in org.apache.kafka.clients.admin
- transactionTimeoutMs() - Method in class org.apache.kafka.clients.admin.TransactionDescription
- transform(Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigTransformer
-
Transforms the given configuration data by using the
ConfigProvider
instances to look up values to replace the variables in the pattern. - truststore() - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
-
Returns truststore configured for this factory.
- ttl() - Method in class org.apache.kafka.common.config.ConfigData
-
Returns the TTL (in milliseconds).
- ttls() - Method in class org.apache.kafka.common.config.ConfigTransformerResult
-
Returns the TTL values (in milliseconds) returned from the ConfigProvider instances for a given set of paths.
- type - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- type() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return the config data type.
- type() - Method in class org.apache.kafka.clients.admin.ConsumerGroupDescription
-
The group type (or the protocol) of this consumer group.
- type() - Method in class org.apache.kafka.clients.admin.ConsumerGroupListing
-
The type of the consumer group.
- type() - Method in class org.apache.kafka.clients.admin.GroupListing
-
The type of the group.
- type() - Method in enum class org.apache.kafka.clients.admin.ScramMechanism
- type() - Method in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- type() - Method in class org.apache.kafka.common.config.ConfigResource
-
Return the resource type.
- typeOf(String) - Method in class org.apache.kafka.common.config.AbstractConfig
- types() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
Returns the list of group types that are requested or empty if no types have been specified.
- types() - Method in class org.apache.kafka.clients.admin.ListGroupsOptions
-
Returns the list of group types that are requested or empty if no types have been specified.
U
- UnacceptableCredentialException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown when attempting to define a credential that does not meet the criteria for acceptability (for example, attempting to create a SCRAM credential with an empty username or password or too few/many iterations).
- UnacceptableCredentialException(String) - Constructor for exception class org.apache.kafka.common.errors.UnacceptableCredentialException
-
Constructor
- UnacceptableCredentialException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnacceptableCredentialException
- unauthorizedTopics() - Method in class org.apache.kafka.common.Cluster
- unauthorizedTopics() - Method in exception class org.apache.kafka.common.errors.TopicAuthorizationException
-
Get the set of topics which failed authorization.
- UNCLEAN - Enum constant in enum class org.apache.kafka.common.ElectionType
- UNCLEAN_LEADER_ELECTION_ENABLE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
- UNCLEAN_LEADER_ELECTION_ENABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
- uncommittedOffsets() - Method in class org.apache.kafka.clients.producer.MockProducer
- uncommittedRecords() - Method in class org.apache.kafka.clients.producer.MockProducer
- unitName() - Method in class org.apache.kafka.common.metrics.stats.Rate
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.EndpointType
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.ScramMechanism
- UNKNOWN - Enum constant in enum class org.apache.kafka.clients.admin.TransactionState
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
Represents any AclOperation which this client cannot understand, perhaps because this client is too old.
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.acl.AclPermissionType
-
Represents any AclPermissionType which this client cannot understand, perhaps because this client is too old.
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.ClassicGroupState
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.config.ConfigResource.Type
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.GroupState
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.GroupType
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.resource.PatternType
-
Represents any PatternType which this client cannot understand, perhaps because this client is too old.
- UNKNOWN - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
Represents any ResourceType which this client cannot understand, perhaps because this client is too old.
- UNKNOWN_PARTITION - Static variable in class org.apache.kafka.clients.producer.RecordMetadata
-
Partition value for record without partition assigned
- UnknownControllerIdException - Exception Class in org.apache.kafka.common.errors
- UnknownControllerIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownControllerIdException
- UnknownLeaderEpochException - Exception Class in org.apache.kafka.common.errors
-
The request contained a leader epoch which is larger than that on the broker that received the request.
- UnknownLeaderEpochException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownLeaderEpochException
- UnknownLeaderEpochException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownLeaderEpochException
- UnknownMemberIdException - Exception Class in org.apache.kafka.common.errors
- UnknownMemberIdException() - Constructor for exception class org.apache.kafka.common.errors.UnknownMemberIdException
- UnknownMemberIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownMemberIdException
- UnknownMemberIdException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownMemberIdException
- UnknownMemberIdException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownMemberIdException
- UnknownProducerIdException - Exception Class in org.apache.kafka.common.errors
-
This exception is raised by the broker if it could not locate the producer metadata associated with the producerId in question.
- UnknownProducerIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownProducerIdException
- UnknownServerException - Exception Class in org.apache.kafka.common.errors
-
An error occurred on the server for which the client doesn't have a corresponding error code.
- UnknownServerException() - Constructor for exception class org.apache.kafka.common.errors.UnknownServerException
- UnknownServerException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownServerException
- UnknownServerException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownServerException
- UnknownServerException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownServerException
- UnknownSubscriptionIdException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that the client sent an invalid or outdated SubscriptionId
- UnknownSubscriptionIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownSubscriptionIdException
- UnknownTopicIdException - Exception Class in org.apache.kafka.common.errors
- UnknownTopicIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownTopicIdException
- UnknownTopicOrPartitionException - Exception Class in org.apache.kafka.common.errors
-
This topic/partition doesn't exist.
- UnknownTopicOrPartitionException() - Constructor for exception class org.apache.kafka.common.errors.UnknownTopicOrPartitionException
- UnknownTopicOrPartitionException(String) - Constructor for exception class org.apache.kafka.common.errors.UnknownTopicOrPartitionException
- UnknownTopicOrPartitionException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownTopicOrPartitionException
- UnknownTopicOrPartitionException(Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnknownTopicOrPartitionException
- unregisterBroker(int) - Method in interface org.apache.kafka.clients.admin.Admin
-
Unregister a broker.
- unregisterBroker(int, UnregisterBrokerOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Unregister a broker.
- unregisterBroker(int, UnregisterBrokerOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- unregisterBroker(int, UnregisterBrokerOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- UnregisterBrokerOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.unregisterBroker(int, UnregisterBrokerOptions)
. - UnregisterBrokerOptions() - Constructor for class org.apache.kafka.clients.admin.UnregisterBrokerOptions
- UnregisterBrokerResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.unregisterBroker(int, UnregisterBrokerOptions)
call. - unregisterMetricFromSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.admin.Admin
-
Remove the provided application metric for subscription.
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- unregisterMetricFromSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.consumer.Consumer
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Remove the provided application metric for subscription.
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.producer.KafkaProducer
-
Remove the provided application metric for subscription.
- unregisterMetricFromSubscription(KafkaMetric) - Method in class org.apache.kafka.clients.producer.MockProducer
- unregisterMetricFromSubscription(KafkaMetric) - Method in interface org.apache.kafka.clients.producer.Producer
- UnreleasedInstanceIdException - Exception Class in org.apache.kafka.common.errors
- UnreleasedInstanceIdException(String) - Constructor for exception class org.apache.kafka.common.errors.UnreleasedInstanceIdException
- UNSAFE_DOWNGRADE - Enum constant in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- UnstableOffsetCommitException - Exception Class in org.apache.kafka.common.errors
-
Exception thrown when there are unstable offsets for the requested topic partitions.
- UnstableOffsetCommitException(String) - Constructor for exception class org.apache.kafka.common.errors.UnstableOffsetCommitException
- unsubscribe() - Method in interface org.apache.kafka.clients.consumer.Consumer
- unsubscribe() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Unsubscribe from topics currently subscribed with
KafkaConsumer.subscribe(Collection)
orKafkaConsumer.subscribe(Pattern)
. - unsubscribe() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Unsubscribe from topics currently subscribed with
KafkaShareConsumer.subscribe(Collection)
. - unsubscribe() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- unsubscribe() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- unsubscribe() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- unsubscribe(String, Set<String>, ConfigChangeCallback) - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
-
Unsubscribes to changes for the given keys at the given path (optional operation).
- unsubscribeAll() - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
-
Clears all subscribers (optional operation).
- UnsupportedAssignorException - Exception Class in org.apache.kafka.common.errors
- UnsupportedAssignorException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedAssignorException
- UnsupportedByAuthenticationException - Exception Class in org.apache.kafka.common.errors
-
Authentication mechanism does not support the requested function.
- UnsupportedByAuthenticationException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedByAuthenticationException
- UnsupportedByAuthenticationException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedByAuthenticationException
- UnsupportedCompressionTypeException - Exception Class in org.apache.kafka.common.errors
-
The requesting client does not support the compression type of given partition.
- UnsupportedCompressionTypeException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedCompressionTypeException
- UnsupportedCompressionTypeException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedCompressionTypeException
- UnsupportedEndpointTypeException - Exception Class in org.apache.kafka.common.errors
- UnsupportedEndpointTypeException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedEndpointTypeException
- UnsupportedForMessageFormatException - Exception Class in org.apache.kafka.common.errors
-
The message format version does not support the requested function.
- UnsupportedForMessageFormatException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedForMessageFormatException
- UnsupportedForMessageFormatException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedForMessageFormatException
- UnsupportedSaslMechanismException - Exception Class in org.apache.kafka.common.errors
-
This exception indicates that the SASL mechanism requested by the client is not enabled on the broker.
- UnsupportedSaslMechanismException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedSaslMechanismException
- UnsupportedSaslMechanismException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedSaslMechanismException
- UnsupportedVersionException - Exception Class in org.apache.kafka.common.errors
-
Indicates that a request API or version needed by the client is not supported by the broker.
- UnsupportedVersionException(String) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedVersionException
- UnsupportedVersionException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.UnsupportedVersionException
- unused() - Method in class org.apache.kafka.common.config.AbstractConfig
- updateBeginningOffsets(Map<TopicPartition, Long>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- updateClusterMetadata(Cluster) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
This callback is invoked whenever there are changes in the cluster metadata, such as brokers being added or removed, topics being created or deleted, or partition leadership updates.
- updateDurationOffsets(Map<TopicPartition, Long>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- updateEndOffsets(Map<TopicPartition, Long>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- updateFeatures(Map<String, FeatureUpdate>, UpdateFeaturesOptions) - Method in interface org.apache.kafka.clients.admin.Admin
-
Applies specified updates to finalized features.
- updateFeatures(Map<String, FeatureUpdate>, UpdateFeaturesOptions) - Method in class org.apache.kafka.clients.admin.ForwardingAdmin
- updateFeatures(Map<String, FeatureUpdate>, UpdateFeaturesOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
- UpdateFeaturesOptions - Class in org.apache.kafka.clients.admin
-
Options for
Admin.updateFeatures(Map, UpdateFeaturesOptions)
. - UpdateFeaturesOptions() - Constructor for class org.apache.kafka.clients.admin.UpdateFeaturesOptions
- UpdateFeaturesResult - Class in org.apache.kafka.clients.admin
-
The result of the
Admin.updateFeatures(Map, UpdateFeaturesOptions)
call. - updatePartitions(String, List<PartitionInfo>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
- updateQuota(ClientQuotaType, ClientQuotaEntity, double) - Method in interface org.apache.kafka.server.quota.ClientQuotaCallback
-
Quota configuration update callback that is invoked when quota configuration for an entity is updated in the quorum.
- UPGRADE - Enum constant in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
- upgraded() - Method in class org.apache.kafka.clients.admin.MemberDescription
-
The flag indicating whether a member within a
GroupType.CONSUMER
group uses theGroupType.CONSUMER
protocol. - upgradeType() - Method in class org.apache.kafka.clients.admin.FeatureUpdate
- upperBound(double) - Static method in class org.apache.kafka.common.metrics.Quota
- usableBytes() - Method in class org.apache.kafka.clients.admin.LogDirDescription
-
The usable size on the volume this log directory is on or empty if the broker did not return a value.
- Usage Examples - Search tag in class org.apache.kafka.clients.consumer.KafkaConsumer
- Section
- Usage Examples - Search tag in class org.apache.kafka.clients.consumer.KafkaShareConsumer
- Section
- user() - Method in class org.apache.kafka.clients.admin.UserScramCredentialAlteration
- USER - Enum constant in enum class org.apache.kafka.common.resource.ResourceType
-
A user principal
- USER - Enum constant in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
- USER - Static variable in class org.apache.kafka.common.quota.ClientQuotaEntity
-
The type of an entity entry.
- USER_TYPE - Static variable in class org.apache.kafka.common.security.auth.KafkaPrincipal
- userData() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
- userData() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- users() - Method in class org.apache.kafka.clients.admin.DescribeUserScramCredentialsResult
- UserScramCredentialAlteration - Class in org.apache.kafka.clients.admin
-
A request to alter a user's SASL/SCRAM credentials.
- UserScramCredentialDeletion - Class in org.apache.kafka.clients.admin
-
A request to delete a SASL/SCRAM credential for a user.
- UserScramCredentialDeletion(String, ScramMechanism) - Constructor for class org.apache.kafka.clients.admin.UserScramCredentialDeletion
- UserScramCredentialsDescription - Class in org.apache.kafka.clients.admin
-
Representation of all SASL/SCRAM credentials associated with a user that can be retrieved, or an exception indicating why credentials could not be retrieved.
- UserScramCredentialsDescription(String, List<ScramCredentialInfo>) - Constructor for class org.apache.kafka.clients.admin.UserScramCredentialsDescription
- UserScramCredentialUpsertion - Class in org.apache.kafka.clients.admin
-
A request to update/insert a SASL/SCRAM credential for a user.
- UserScramCredentialUpsertion(String, ScramCredentialInfo, byte[]) - Constructor for class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
-
Constructor that generates a random salt
- UserScramCredentialUpsertion(String, ScramCredentialInfo, byte[], byte[]) - Constructor for class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
-
Constructor that accepts an explicit salt
- UserScramCredentialUpsertion(String, ScramCredentialInfo, String) - Constructor for class org.apache.kafka.clients.admin.UserScramCredentialUpsertion
-
Constructor that generates a random salt
- Uuid - Class in org.apache.kafka.common
-
This class defines an immutable universally unique identifier (UUID).
- Uuid(long, long) - Constructor for class org.apache.kafka.common.Uuid
-
Constructs a 128-bit type 4 UUID where the first long represents the most significant 64 bits and the second long represents the least significant 64 bits.
- UUID() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for nullable
UUID
type - UUIDDeserializer - Class in org.apache.kafka.common.serialization
-
We are converting the byte array to String before deserializing to UUID.
- UUIDDeserializer() - Constructor for class org.apache.kafka.common.serialization.UUIDDeserializer
- UUIDSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.UUIDSerde
- UUIDSerializer - Class in org.apache.kafka.common.serialization
-
We are converting UUID to String before serializing.
- UUIDSerializer() - Constructor for class org.apache.kafka.common.serialization.UUIDSerializer
V
- valid() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsResult
-
Returns a future which yields just the valid listings.
- valid() - Method in class org.apache.kafka.clients.admin.ListGroupsResult
-
Returns a future which yields just the valid listings.
- valid(String) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
-
Validates a specific extension in the original
inputExtensions
map - VALID_LOG_LEVELS - Static variable in class org.apache.kafka.common.config.LogLevelConfig
- validate(Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
-
Validate the current configuration values with the configuration definition.
- validate(AlterConfigPolicy.RequestMetadata) - Method in interface org.apache.kafka.server.policy.AlterConfigPolicy
-
Validate the request parameters and throw a
PolicyViolationException
with a suitable error message if the alter configs request parameters for the provided resource do not satisfy this policy. - validate(CreateTopicPolicy.RequestMetadata) - Method in interface org.apache.kafka.server.policy.CreateTopicPolicy
-
Validate the request parameters and throw a
PolicyViolationException
with a suitable error message if the create topics request parameters for the provided topic do not satisfy this policy. - validateAll(Map<String, String>) - Method in class org.apache.kafka.common.config.ConfigDef
- validatedExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
- validateOnly() - Method in class org.apache.kafka.clients.admin.AlterClientQuotasOptions
-
Returns whether the request should be validated without altering the configs.
- validateOnly() - Method in class org.apache.kafka.clients.admin.CreatePartitionsOptions
-
Return true if the request should be validated without creating new partitions.
- validateOnly() - Method in class org.apache.kafka.clients.admin.UpdateFeaturesOptions
- validateOnly(boolean) - Method in class org.apache.kafka.clients.admin.AlterClientQuotasOptions
-
Sets whether the request should be validated without altering the configs.
- validateOnly(boolean) - Method in class org.apache.kafka.clients.admin.AlterConfigsOptions
-
Set to true if the request should be validated without altering the configs.
- validateOnly(boolean) - Method in class org.apache.kafka.clients.admin.CreatePartitionsOptions
-
Set to true if the request should be validated without creating new partitions.
- validateOnly(boolean) - Method in class org.apache.kafka.clients.admin.CreateTopicsOptions
-
Set to true if the request should be validated without creating the topic.
- validateOnly(boolean) - Method in class org.apache.kafka.clients.admin.UpdateFeaturesOptions
- validateReconfiguration(Map<String, ?>) - Method in class org.apache.kafka.common.metrics.JmxReporter
- validateReconfiguration(Map<String, ?>) - Method in interface org.apache.kafka.common.metrics.MetricsReporter
- validateReconfiguration(Map<String, ?>) - Method in interface org.apache.kafka.common.Reconfigurable
-
Validates the provided configuration.
- validator - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- validValues(String, Map<String, Object>) - Method in interface org.apache.kafka.common.config.ConfigDef.Recommender
-
The valid values for the configuration given the current configuration values.
- value - Variable in enum class org.apache.kafka.common.ElectionType
- value() - Method in class org.apache.kafka.clients.admin.ConfigEntry.ConfigSynonym
-
Returns the value of this configuration, which may be null if the configuration is sensitive.
- value() - Method in class org.apache.kafka.clients.admin.ConfigEntry
-
Return the value or null.
- value() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
-
The value
- value() - Method in class org.apache.kafka.clients.producer.ProducerRecord
- value() - Method in class org.apache.kafka.common.config.ConfigValue
- value() - Method in interface org.apache.kafka.common.header.Header
- value() - Method in exception class org.apache.kafka.common.metrics.QuotaViolationException
- value() - Method in class org.apache.kafka.common.quota.ClientQuotaAlteration.Op
- value() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
-
The
b64token
value as defined in RFC 6750 Section 2.1 - value(double) - Method in class org.apache.kafka.common.metrics.stats.Histogram
- value(Object) - Method in class org.apache.kafka.common.config.ConfigValue
- value(MetricConfig, long) - Method in interface org.apache.kafka.common.metrics.Gauge
-
Returns the current value associated with this gauge.
- value(MetricConfig, long, double) - Method in class org.apache.kafka.common.metrics.stats.Percentiles
- Value - Class in org.apache.kafka.common.metrics.stats
-
An instantaneous value.
- Value() - Constructor for class org.apache.kafka.common.metrics.stats.Value
- VALUE - Enum constant in enum class org.apache.kafka.common.errors.RecordDeserializationException.DeserializationExceptionOrigin
- VALUE_DESERIALIZER_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
-
value.deserializer
- VALUE_DESERIALIZER_CLASS_DOC - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
- VALUE_SERIALIZER_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
-
value.serializer
- VALUE_SERIALIZER_CLASS_DOC - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
- valueBuffer() - Method in exception class org.apache.kafka.common.errors.RecordDeserializationException
- valueOf(byte) - Static method in enum class org.apache.kafka.common.ElectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.EndpointType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.ScramMechanism
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.admin.TransactionState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.consumer.AcknowledgeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.acl.AclOperation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.ClassicGroupState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.config.ConfigDef.Importance
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.config.ConfigDef.Width
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.config.ConfigResource.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.config.SslClientAuth
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.ElectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.errors.RecordDeserializationException.DeserializationExceptionOrigin
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.GroupState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.GroupType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.IsolationLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.metrics.stats.Percentiles.BucketSizing
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.resource.PatternType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.resource.ResourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.server.authorizer.AuthorizationResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.kafka.server.quota.ClientQuotaType
-
Returns the enum constant of this class with the specified name.
- values() - Method in class org.apache.kafka.clients.admin.AlterClientQuotasResult
-
Returns a map from quota entity to a future which can be used to check the status of the operation.
- values() - Static method in enum class org.apache.kafka.clients.admin.AlterConfigOp.OpType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.kafka.clients.admin.AlterConfigsResult
-
Return a map from resources to futures which can be used to check the status of the operation on each resource.
- values() - Method in class org.apache.kafka.clients.admin.AlterPartitionReassignmentsResult
-
Return a map from partitions to futures which can be used to check the status of the reassignment.
- values() - Method in class org.apache.kafka.clients.admin.AlterReplicaLogDirsResult
-
Return a map from
TopicPartitionReplica
toKafkaFuture
which holds the status of individual replica movement. - values() - Method in class org.apache.kafka.clients.admin.AlterUserScramCredentialsResult
-
Return a map from user names to futures, which can be used to check the status of the alteration(s) for each user.
- values() - Static method in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.admin.ConfigEntry.ConfigType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.kafka.clients.admin.CreateAclsResult
-
Return a map from ACL bindings to futures which can be used to check the status of the creation of each ACL binding.
- values() - Method in class org.apache.kafka.clients.admin.CreatePartitionsResult
-
Return a map from topic names to futures, which can be used to check the status of individual partition creations.
- values() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
-
Return a map from topic names to futures, which can be used to check the status of individual topic creations.
- values() - Method in class org.apache.kafka.clients.admin.DeleteAclsResult.FilterResults
-
Return a list of delete ACLs results for a given filter.
- values() - Method in class org.apache.kafka.clients.admin.DeleteAclsResult
-
Return a map from acl filters to futures which can be used to check the status of the deletions by each filter.
- values() - Method in class org.apache.kafka.clients.admin.DescribeAclsResult
-
Return a future containing the ACLs requested.
- values() - Method in class org.apache.kafka.clients.admin.DescribeConfigsResult
-
Return a map from resources to futures which can be used to check the status of the configuration for each resource.
- values() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult
-
Return a map from replica to future which can be used to check the log directory information of individual replicas
- values() - Static method in enum class org.apache.kafka.clients.admin.EndpointType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.admin.FeatureUpdate.UpgradeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.admin.ScramMechanism
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.admin.TransactionState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.kafka.clients.admin.UpdateFeaturesResult
- values() - Static method in enum class org.apache.kafka.clients.consumer.AcknowledgeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.consumer.GroupProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.clients.consumer.OffsetResetStrategy
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.acl.AclOperation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.acl.AclPermissionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.ClassicGroupState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.apache.kafka.common.config.AbstractConfig
- values() - Static method in enum class org.apache.kafka.common.config.ConfigDef.Importance
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.config.ConfigDef.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.config.ConfigDef.Width
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.config.ConfigResource.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.config.SslClientAuth
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.ConsumerGroupState
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.ElectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.errors.RecordDeserializationException.DeserializationExceptionOrigin
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.GroupState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.GroupType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.IsolationLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.metrics.Sensor.RecordingLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.metrics.stats.Percentiles.BucketSizing
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.resource.PatternType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.resource.ResourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.common.security.auth.SecurityProtocol
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.server.authorizer.AuthorizationResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.server.quota.ClientQuotaEntity.ConfigEntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.kafka.server.quota.ClientQuotaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VALUES - Static variable in enum class org.apache.kafka.common.config.SslClientAuth
- valuesWithPrefixAllOrNothing(String) - Method in class org.apache.kafka.common.config.AbstractConfig
-
If at least one key with
prefix
exists, all prefixed values will be parsed and put into map. - valuesWithPrefixOverride(String) - Method in class org.apache.kafka.common.config.AbstractConfig
-
Put all keys that do not start with
prefix
and their parsed values in the result map and then put all the remaining keys with the prefix stripped and their parsed values in the result map. - version() - Method in interface org.apache.kafka.clients.consumer.ConsumerPartitionAssignor
-
Return the version of the assignor which indicates how the user metadata encodings and the assignment algorithm gets evolved.
- visible() - Method in class org.apache.kafka.common.config.ConfigValue
- visible(boolean) - Method in class org.apache.kafka.common.config.ConfigValue
- visible(String, Map<String, Object>) - Method in interface org.apache.kafka.common.config.ConfigDef.Recommender
-
Set the visibility of the configuration given the current configuration values.
- Void() - Static method in class org.apache.kafka.common.serialization.Serdes
-
A serde for
Void
type. - VoidDeserializer - Class in org.apache.kafka.common.serialization
- VoidDeserializer() - Constructor for class org.apache.kafka.common.serialization.VoidDeserializer
- VoidSerde() - Constructor for class org.apache.kafka.common.serialization.Serdes.VoidSerde
- VoidSerializer - Class in org.apache.kafka.common.serialization
- VoidSerializer() - Constructor for class org.apache.kafka.common.serialization.VoidSerializer
- VoterNotFoundException - Exception Class in org.apache.kafka.common.errors
- VoterNotFoundException(String) - Constructor for exception class org.apache.kafka.common.errors.VoterNotFoundException
- VoterNotFoundException(String, Throwable) - Constructor for exception class org.apache.kafka.common.errors.VoterNotFoundException
- voters() - Method in class org.apache.kafka.clients.admin.QuorumInfo
W
- wakeup() - Method in interface org.apache.kafka.clients.consumer.Consumer
- wakeup() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
-
Wakeup the consumer.
- wakeup() - Method in class org.apache.kafka.clients.consumer.KafkaShareConsumer
-
Wake up the consumer.
- wakeup() - Method in class org.apache.kafka.clients.consumer.MockConsumer
- wakeup() - Method in class org.apache.kafka.clients.consumer.MockShareConsumer
- wakeup() - Method in interface org.apache.kafka.clients.consumer.ShareConsumer
- WakeupException - Exception Class in org.apache.kafka.common.errors
-
Exception used to indicate preemption of a blocking operation by an external thread.
- WakeupException() - Constructor for exception class org.apache.kafka.common.errors.WakeupException
- WARN_LOG_LEVEL - Static variable in class org.apache.kafka.common.config.LogLevelConfig
-
The
WARN
level designates potentially harmful situations. - whenComplete(KafkaFuture.BiConsumer<? super T, ? super Throwable>) - Method in class org.apache.kafka.common.KafkaFuture
-
Returns a new KafkaFuture with the same result or exception as this future, that executes the given action when this future completes.
- width - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
- WILDCARD_RESOURCE - Static variable in class org.apache.kafka.common.resource.ResourcePattern
-
A special literal resource name that corresponds to 'all resources of a certain type'.
- WindowedCount - Class in org.apache.kafka.common.metrics.stats
-
A
SampledStat
that maintains a simple count of what it has seen. - WindowedCount() - Constructor for class org.apache.kafka.common.metrics.stats.WindowedCount
- WindowedSum - Class in org.apache.kafka.common.metrics.stats
-
A
SampledStat
that maintains the sum of what it has seen. - WindowedSum() - Constructor for class org.apache.kafka.common.metrics.stats.WindowedSum
- windowSize(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.Rate
- windowSize(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.SimpleRate
- with(BiConsumer<String, Object>, Supplier<String>) - Static method in class org.apache.kafka.common.config.ConfigDef.LambdaValidator
- withClientSaslSupport() - Method in class org.apache.kafka.common.config.ConfigDef
-
Add standard SASL client configuration options.
- withClientSslSupport() - Method in class org.apache.kafka.common.config.ConfigDef
-
Add standard SSL client configuration options.
- withPartitions(Map<TopicPartition, PartitionInfo>) - Method in class org.apache.kafka.common.Cluster
-
Return a copy of this cluster combined with `partitions`.
- withTypes(Set<GroupType>) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
-
If types is set, only groups of these types will be returned by listConsumerGroups().
- withTypes(Set<GroupType>) - Method in class org.apache.kafka.clients.admin.ListGroupsOptions
-
If types is set, only groups of these types will be returned by listGroups().
- WrapperSerde(Serializer<T>, Deserializer<T>) - Constructor for class org.apache.kafka.common.serialization.Serdes.WrapperSerde
- WRITE - Enum constant in enum class org.apache.kafka.common.acl.AclOperation
-
WRITE operation.
- writeTo(ConsumerRecord<byte[], byte[]>, PrintStream) - Method in interface org.apache.kafka.common.MessageFormatter
-
Parses and formats a record for display
Z
- ZERO_UUID - Static variable in class org.apache.kafka.common.Uuid
-
A UUID that represents a null or empty UUID.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ConsumerGroupDescription(String, boolean, Collection, String, GroupType, GroupState, Node, Set, Optional, Optional)
instead.