Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

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
abortTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
 
AbstractConfig - Class in org.apache.kafka.common.config
A convenient base class for configurations to extend.
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.
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.
AbstractOptions<T extends AbstractOptions> - 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
 
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.
ACKS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
acks
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.
AclBinding(Resource, AccessControlEntry) - Constructor for class org.apache.kafka.common.acl.AclBinding
aclBinding() - Method in class org.apache.kafka.server.authorizer.AclDeleteResult.AclBindingDeleteResult
Returns ACL binding that matched the delete filter.
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.
AclBindingFilter(ResourceFilter, AccessControlEntryFilter) - Constructor for class org.apache.kafka.common.acl.AclBindingFilter
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(ApiException) - Constructor for class org.apache.kafka.server.authorizer.AclDeleteResult
 
AclDeleteResult(Collection<AclDeleteResult.AclBindingDeleteResult>) - 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 in org.apache.kafka.common.acl
Represents an operation which an ACL grants or denies permission to perform.
AclPermissionType - Enum 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
 
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(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(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)
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
addClientSaslSupport(ConfigDef) - Static method in class org.apache.kafka.common.config.SaslConfigs
 
addClientSslSupport(ConfigDef) - Static method in class org.apache.kafka.common.config.SslConfigs
 
addDeserializerToConfig(Map<String, Object>, Deserializer<?>, Deserializer<?>) - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
Deprecated.
Since 2.7.0. This will be removed in a future major release.
addDeserializerToConfig(Properties, Deserializer<?>, Deserializer<?>) - Static method in class org.apache.kafka.clients.consumer.ConsumerConfig
Deprecated.
Since 2.7.0. This will be removed in a future major release.
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.
addRecord(ConsumerRecord<K, V>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
addReporter(MetricsReporter) - Method in class org.apache.kafka.common.metrics.Metrics
Add a MetricReporter
addSerializerToConfig(Map<String, Object>, Serializer<?>, Serializer<?>) - Static method in class org.apache.kafka.clients.producer.ProducerConfig
Deprecated.
Since 2.7.0. This will be removed in a future major release.
addSerializerToConfig(Properties, Serializer<?>, Serializer<?>) - Static method in class org.apache.kafka.clients.producer.ProducerConfig
Deprecated.
Since 2.7.0. This will be removed in a future major release.
addWaiter(KafkaFuture.BiConsumer<? super T, ? super Throwable>) - Method in class org.apache.kafka.common.KafkaFuture
 
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
 
AdminClientConfig(Map<?, ?>, boolean) - Constructor for class org.apache.kafka.clients.admin.AdminClientConfig
 
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 on KafkaFuture.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
Return a future which succeeds only if all the topic deletions 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.DescribeLogDirsResult
Deprecated.
Deprecated Since Kafka 2.7. Use DescribeLogDirsResult.allDescriptions().
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.DescribeTopicsResult
Return a future which succeeds only if all the topic descriptions succeed.
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.ElectPreferredLeadersResult
Deprecated.
Return a future which succeeds if all the topic elections 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.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.RemoveMembersFromConsumerGroupResult
Returns a future which indicates whether the request was 100% success, i.e.
all() - Method in class org.apache.kafka.clients.admin.UpdateFeaturesResult
Return a future which succeeds if all the feature updates succeed.
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_AUTO_CREATE_TOPICS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
allow.auto.create.topics
allowDowngrade() - Method in class org.apache.kafka.clients.admin.FeatureUpdate
 
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.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
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 a 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 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.
alterConfigs(Map<ConfigResource, Config>) - Method in interface org.apache.kafka.clients.admin.Admin
Deprecated.
alterConfigs(Map<ConfigResource, Config>, AlterConfigsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
alterConfigs(Map<ConfigResource, Config>, AlterConfigsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
Deprecated.
AlterConfigsOptions - Class in org.apache.kafka.clients.admin
AlterConfigsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterConfigsOptions
 
AlterConfigsResult - Class in org.apache.kafka.clients.admin
The result of the Admin.alterConfigs(Map) 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.KafkaAdminClient
 
AlterConsumerGroupOffsetsOptions - Class in org.apache.kafka.clients.admin
AlterConsumerGroupOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.AlterConsumerGroupOffsetsOptions
 
AlterConsumerGroupOffsetsResult - Class in org.apache.kafka.clients.admin
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.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.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
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.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
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 - 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.ResourceFilter
Matches any resource.
ANY - Static variable in class org.apache.kafka.common.resource.ResourcePatternFilter
Matches any resource pattern.
ApiException - Exception 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(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ApiException
 
ApiException(String) - Constructor for exception org.apache.kafka.common.errors.ApiException
 
ApiException(Throwable) - Constructor for exception org.apache.kafka.common.errors.ApiException
 
ApiException() - Constructor for exception org.apache.kafka.common.errors.ApiException
 
apply(A) - Method in interface org.apache.kafka.common.KafkaFuture.BaseFunction
 
assign(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
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(Map<String, Integer>, Map<String, ConsumerPartitionAssignor.Subscription>) - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
 
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
 
assignment() - Method in class org.apache.kafka.clients.admin.MemberDescription
The assignment of the group member.
assignment() - Method in interface org.apache.kafka.clients.consumer.Consumer
 
Assignment(List<TopicPartition>, ByteBuffer) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
 
Assignment(List<TopicPartition>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
 
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
 
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.
atLeast(Number) - Static method in class org.apache.kafka.common.config.ConfigDef.Range
A numeric range that checks only the lower bound
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 in org.apache.kafka.common.errors
This exception indicates that SASL authentication has failed.
AuthenticationException(String) - Constructor for exception org.apache.kafka.common.errors.AuthenticationException
 
AuthenticationException(Throwable) - Constructor for exception org.apache.kafka.common.errors.AuthenticationException
 
AuthenticationException(String, Throwable) - Constructor for exception 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 in org.apache.kafka.common.errors
 
AuthorizationException(String) - Constructor for exception org.apache.kafka.common.errors.AuthorizationException
 
AuthorizationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.AuthorizationException
 
AuthorizationResult - Enum in org.apache.kafka.server.authorizer
 
authorize(AuthorizableRequestContext, List<Action>) - Method in interface org.apache.kafka.server.authorizer.Authorizer
Authorizes the specified action.
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.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.
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
 
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(long) - Static method in class org.apache.kafka.clients.admin.RecordsToDelete
Delete all the records before the given offset
beforeOffset() - Method in class org.apache.kafka.clients.admin.RecordsToDelete
The offset before which all records will be deleted
beginningOffsets(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
beginningOffsets(Collection<TopicPartition>, Duration) - 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>, Duration) - 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 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
 
bootstrap(List<InetSocketAddress>) - Static method in class org.apache.kafka.common.Cluster
Create a "bootstrap" cluster using the given list of host/ports
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
bound() - Method in class org.apache.kafka.common.metrics.Quota
 
bound() - Method in exception org.apache.kafka.common.metrics.QuotaViolationException
 
brokerId() - Method in class org.apache.kafka.common.TopicPartitionReplica
 
brokerId() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
Returns broker id.
BrokerNotAvailableException - Exception in org.apache.kafka.common.errors
 
BrokerNotAvailableException(String) - Constructor for exception org.apache.kafka.common.errors.BrokerNotAvailableException
 
BrokerNotAvailableException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.BrokerNotAvailableException
 
BUFFER_MEMORY_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
buffer.memory
BufferExhaustedException - Exception 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 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.
buildPrincipal(TransportLayer, Authenticator) - Method in class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
Deprecated.
 
buildPrincipal(TransportLayer, Authenticator) - Method in interface org.apache.kafka.common.security.auth.PrincipalBuilder
Deprecated.
Returns Principal.
ByteArray() - Static method in class org.apache.kafka.common.serialization.Serdes
 
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
 
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() - Constructor for class org.apache.kafka.common.serialization.ByteBufferSerializer
 
Bytes() - Static method in class org.apache.kafka.common.serialization.Serdes
 
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
 
checksum() - Method in class org.apache.kafka.clients.consumer.ConsumerRecord
Deprecated.
As of Kafka 0.11.0. Because of the potential for message format conversion on the broker, the checksum returned by the broker may not match what was computed by the producer. It is therefore unsafe to depend on this checksum for end-to-end delivery guarantees. Additionally, message format v2 does not include a record-level checksum (for performance, the record checksum was replaced with a batch checksum). To maintain compatibility, a partial checksum computed from the record timestamp, serialized key size, and serialized value size is returned instead, but this should not be depended on for end-to-end reliability.
checksum() - Method in class org.apache.kafka.clients.producer.RecordMetadata
Deprecated.
As of Kafka 0.11.0. Because of the potential for message format conversion on the broker, the computed checksum may not match what was stored on the broker, or what will be returned to the consumer. It is therefore unsafe to depend on this checksum for end-to-end delivery guarantees. Additionally, message format v2 does not include a record-level checksum (for performance, the record checksum was replaced with a batch checksum). To maintain compatibility, a partial checksum computed from the record timestamp, serialized key size, and serialized value size is returned instead, but this should not be depended on for end-to-end reliability.
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_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_RACK_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
client.rack
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 interface org.apache.kafka.server.authorizer.AuthorizableRequestContext
Returns the client id from the request header.
ClientQuotaCallback - Interface in org.apache.kafka.server.quota
Quota callback interface for brokers that enables customization of client quota computation.
ClientQuotaEntity - Interface in org.apache.kafka.server.quota
The metadata for an entity for which quota is configured.
ClientQuotaEntity.ConfigEntity - Interface in org.apache.kafka.server.quota
Interface representing a quota configuration entity.
ClientQuotaEntity.ConfigEntityType - Enum in org.apache.kafka.server.quota
ClientQuotaType - Enum in org.apache.kafka.server.quota
Types of quotas that may be configured on brokers for client requests.
close() - Method in interface org.apache.kafka.clients.admin.Admin
Close the Admin and release all associated resources.
close(long, TimeUnit) - Method in interface org.apache.kafka.clients.admin.Admin
Deprecated.
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.KafkaAdminClient
 
close() - Method in interface org.apache.kafka.clients.consumer.Consumer
 
close(long, TimeUnit) - Method in interface org.apache.kafka.clients.consumer.Consumer
Deprecated.
close(Duration) - 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(long, TimeUnit) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
close(Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
Tries to close the consumer cleanly within the specified timeout.
close() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
close(long, TimeUnit) - Method in class org.apache.kafka.clients.consumer.MockConsumer
Deprecated.
close(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
close() - Method in class org.apache.kafka.clients.producer.KafkaProducer
Close this producer.
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() - Method in class org.apache.kafka.clients.producer.MockProducer
 
close(Duration) - 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(long, TimeUnit) - Method in interface org.apache.kafka.clients.producer.Producer
Deprecated.
close(Duration) - 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.clients.producer.UniformStickyPartitioner
 
close() - Method in class org.apache.kafka.common.config.provider.DirectoryConfigProvider
 
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 class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
Deprecated.
 
close() - Method in interface org.apache.kafka.common.security.auth.Login
Closes this instance.
close() - Method in interface org.apache.kafka.common.security.auth.PrincipalBuilder
Deprecated.
Closes this instance.
close() - Method in interface org.apache.kafka.common.serialization.Deserializer
Close this deserializer.
close() - Method in class org.apache.kafka.common.serialization.ExtendedDeserializer.Wrapper
Deprecated.
 
close() - Method in class org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper
Deprecated.
 
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.
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>, 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) - Constructor for class org.apache.kafka.common.Cluster
Create a new cluster with the given id, nodes and partitions
CLUSTER - Static variable in class org.apache.kafka.common.resource.Resource
A resource representing the whole cluster.
CLUSTER_NAME - Static variable in class org.apache.kafka.common.resource.Resource
The name of the CLUSTER resource.
ClusterAuthorizationException - Exception in org.apache.kafka.common.errors
 
ClusterAuthorizationException(String) - Constructor for exception org.apache.kafka.common.errors.ClusterAuthorizationException
 
ClusterAuthorizationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ClusterAuthorizationException
 
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.common.ClusterResource
Return the cluster id.
clusterResource() - Method in class org.apache.kafka.common.Cluster
 
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.
clusterResource() - Method in interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
Returns cluster metadata for the broker running this authorizer including 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 org.apache.kafka.common.acl.AclOperation
Return the code of this operation.
code() - Method in enum org.apache.kafka.common.acl.AclPermissionType
Return the code of this permission type.
code() - Method in enum org.apache.kafka.common.resource.PatternType
 
code() - Method in enum 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(OffsetCommitCallback) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
commitAsync(Map<TopicPartition, OffsetAndMetadata>, OffsetCommitCallback) - 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(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(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() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
commitAsync(OffsetCommitCallback) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
commitCount() - Method in class org.apache.kafka.clients.producer.MockProducer
 
CommitFailedException - Exception in org.apache.kafka.clients.consumer
This exception is raised when an offset commit with KafkaConsumer.commitSync() fails with an unrecoverable error.
CommitFailedException(String) - Constructor for exception org.apache.kafka.clients.consumer.CommitFailedException
 
CommitFailedException() - Constructor for exception org.apache.kafka.clients.consumer.CommitFailedException
 
commitSync() - Method in interface org.apache.kafka.clients.consumer.Consumer
 
commitSync(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
commitSync(Map<TopicPartition, OffsetAndMetadata>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
commitSync(Map<TopicPartition, OffsetAndMetadata>, Duration) - 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(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(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>, 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>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
commitSync() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
commitSync(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
commitSync(Map<TopicPartition, OffsetAndMetadata>, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
committed(TopicPartition) - Method in interface org.apache.kafka.clients.consumer.Consumer
Deprecated.
committed(TopicPartition, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
Deprecated.
committed(Set<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
committed(Set<TopicPartition>, Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
committed(TopicPartition) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
Deprecated.
since 2.4 Use KafkaConsumer.committed(Set) instead
committed(TopicPartition, Duration) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
Deprecated.
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>, 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(TopicPartition) - Method in class org.apache.kafka.clients.consumer.MockConsumer
Deprecated.
committed(TopicPartition, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
Deprecated.
committed(Set<TopicPartition>) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
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
 
compilePredicate(Map<String, ?>) - Static method in class org.apache.kafka.common.metrics.JmxReporter
 
complete(T) - Method in class org.apache.kafka.common.KafkaFuture
If not already completed, sets the value returned by get() and related methods to the given value.
completedFuture(U) - Static method in class org.apache.kafka.common.KafkaFuture
Returns a new KafkaFuture that is already completed with the given value.
completeExceptionally(Throwable) - Method in class org.apache.kafka.common.KafkaFuture
If not already completed, causes invocations of get() and related methods to throw the given exception.
completeNext() - Method in class org.apache.kafka.clients.producer.MockProducer
Complete the earliest uncompleted call successfully.
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_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
 
ConcurrentTransactionsException - Exception in org.apache.kafka.common.errors
 
ConcurrentTransactionsException(String) - Constructor for exception org.apache.kafka.common.errors.ConcurrentTransactionsException
 
Config - Class in org.apache.kafka.clients.admin
A configuration object containing the configuration entries for a resource.
Config(Collection<ConfigEntry>) - Constructor for class org.apache.kafka.clients.admin.Config
Create a configuration instance with the provided entries.
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() - Method in class org.apache.kafka.clients.admin.CreateTopicsResult.TopicMetadataAndConfig
 
Config - Class in org.apache.kafka.common.config
 
Config(List<ConfigValue>) - Constructor for class org.apache.kafka.common.config.Config
 
config() - Method in class org.apache.kafka.common.metrics.KafkaMetric
 
config(MetricConfig) - Method in class org.apache.kafka.common.metrics.KafkaMetric
 
config() - Method in class org.apache.kafka.common.metrics.Metrics
 
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>, Long) - Constructor for class org.apache.kafka.common.config.ConfigData
Creates a new ConfigData with the given data and TTL (in milliseconds).
ConfigData(Map<String, String>) - Constructor for class org.apache.kafka.common.config.ConfigData
Creates a new ConfigData with the given data.
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 in org.apache.kafka.common.config
The importance level for a configuration
ConfigDef.LambdaValidator - 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 in org.apache.kafka.common.config
The config types
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 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, boolean, boolean, boolean) - Constructor for class org.apache.kafka.clients.admin.ConfigEntry
Deprecated.
since 1.1.0. This constructor will be removed in a future release.
ConfigEntry.ConfigSource - Enum 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 in org.apache.kafka.clients.admin
Data type of configuration entry.
ConfigException - Exception in org.apache.kafka.common.config
Thrown if the user supplies an invalid configuration
ConfigException(String) - Constructor for exception org.apache.kafka.common.config.ConfigException
 
ConfigException(String, Object) - Constructor for exception org.apache.kafka.common.config.ConfigException
 
ConfigException(String, Object, String) - Constructor for exception 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 in org.apache.kafka.common.config
Type of resource.
configs(Map<String, String>) - Method in class org.apache.kafka.clients.admin.NewTopic
Set the configuration to use on the new topic.
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.
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.clients.producer.UniformStickyPartitioner
 
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.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, ?>, 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, ?>) - Method in class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
Deprecated.
 
configure(Map<String, ?>, String, Configuration, AuthenticateCallbackHandler) - Method in interface org.apache.kafka.common.security.auth.Login
Configures this login instance.
configure(Map<String, ?>) - Method in interface org.apache.kafka.common.security.auth.PrincipalBuilder
Deprecated.
Configures this class with given key-value pairs.
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.ExtendedDeserializer.Wrapper
Deprecated.
 
configure(Map<String, ?>, boolean) - Method in class org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper
Deprecated.
 
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
 
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
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
 
ConsumerConfig - Class in org.apache.kafka.clients.consumer
The consumer configuration keys
ConsumerConfig(Properties) - Constructor for class org.apache.kafka.clients.consumer.ConsumerConfig
 
ConsumerConfig(Map<String, Object>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerConfig
 
ConsumerConfig(Map<?, ?>, boolean) - 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
 
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
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, int, String, Optional<String>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
 
ConsumerGroupMetadata(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()
ConsumerGroupState - Enum in org.apache.kafka.common
The consumer group state.
consumerId() - Method in class org.apache.kafka.clients.admin.MemberDescription
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 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, 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).
ConsumerRecord(String, int, long, long, TimestampType, long, int, int, 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.10 before the message format supported headers).
ConsumerRecord(String, int, long, long, TimestampType, Long, int, int, K, V, Headers) - 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, Long, 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
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
 
containsMbean(String) - Method in class org.apache.kafka.common.metrics.JmxReporter
 
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
 
ControllerMovedException - Exception in org.apache.kafka.common.errors
 
ControllerMovedException(String) - Constructor for exception org.apache.kafka.common.errors.ControllerMovedException
 
ControllerMovedException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ControllerMovedException
 
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.
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.ConsumerGroupDescription
The consumer group coordinator, or null if the coordinator is not known.
CoordinatorLoadInProgressException - Exception 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 org.apache.kafka.common.errors.CoordinatorLoadInProgressException
 
CoordinatorLoadInProgressException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.CoordinatorLoadInProgressException
 
CoordinatorNotAvailableException - Exception 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 org.apache.kafka.common.errors.CoordinatorNotAvailableException
 
CoordinatorNotAvailableException(String, Throwable) - Constructor for exception 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 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 org.apache.kafka.common.errors.CorruptRecordException
 
CorruptRecordException(String) - Constructor for exception org.apache.kafka.common.errors.CorruptRecordException
 
CorruptRecordException(Throwable) - Constructor for exception org.apache.kafka.common.errors.CorruptRecordException
 
CorruptRecordException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.CorruptRecordException
 
count() - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
The number of records for all topics
Count - Class in org.apache.kafka.common.metrics.stats
Deprecated.
since 2.4 . Use WindowedCount instead
Count() - Constructor for class org.apache.kafka.common.metrics.stats.Count
Deprecated.
 
counts() - Method in class org.apache.kafka.common.metrics.stats.Histogram
 
create(Properties) - 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 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(Map<String, Object>) - Static method in class org.apache.kafka.clients.admin.AdminClient
Create a new Admin with the given configuration.
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.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
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.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
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.KafkaAdminClient
 
CreatePartitionsOptions - Class in org.apache.kafka.clients.admin
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.KafkaAdminClient
 
CreateTopicsOptions - Class in org.apache.kafka.clients.admin
CreateTopicsOptions() - Constructor for class org.apache.kafka.clients.admin.CreateTopicsOptions
 
CreateTopicsResult - Class in org.apache.kafka.clients.admin
CreateTopicsResult(Map<String, KafkaFuture<CreateTopicsResult.TopicMetadataAndConfig>>) - Constructor for class org.apache.kafka.clients.admin.CreateTopicsResult
 
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
 
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
 

D

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.
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_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_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_PATTERN - Static variable in class org.apache.kafka.common.config.ConfigTransformer
 
DEFAULT_PRINCIPAL_BUILDER_CLASS - Static variable in class org.apache.kafka.common.config.SslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release. In recent versions, the config is optional and there is no default.
DEFAULT_SASL_ENABLED_MECHANISMS - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
DEFAULT_SASL_KERBEROS_PRINCIPAL_TO_LOCAL_RULES - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
DEFAULT_SASL_MECHANISM - 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
 
DefaultPrincipalBuilder - Class in org.apache.kafka.common.security.auth
Deprecated.
As of Kafka 1.0.0. This will be removed in a future major release.
DefaultPrincipalBuilder() - Constructor for class org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
Deprecated.
 
defaultValue - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
 
defaultValues() - Method in class org.apache.kafka.common.config.ConfigDef
 
define(ConfigDef.ConfigKey) - Method in class org.apache.kafka.common.config.ConfigDef
 
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>) - 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, ConfigDef.Recommender) - Method in class org.apache.kafka.common.config.ConfigDef
Define a new configuration with no dependents
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.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, 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, 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.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, 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, 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, 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(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, 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.Importance, String) - Method in class org.apache.kafka.common.config.ConfigDef
Define a new configuration with no special validation logic
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
defineInternal(String, ConfigDef.Type, Object, ConfigDef.Importance) - Method in class org.apache.kafka.common.config.ConfigDef
Define a new internal configuration.
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 in org.apache.kafka.common.errors
 
DelegationTokenAuthorizationException(String) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenAuthorizationException
 
DelegationTokenAuthorizationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenAuthorizationException
 
DelegationTokenDisabledException - Exception in org.apache.kafka.common.errors
 
DelegationTokenDisabledException(String) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenDisabledException
 
DelegationTokenDisabledException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenDisabledException
 
DelegationTokenExpiredException - Exception in org.apache.kafka.common.errors
 
DelegationTokenExpiredException(String) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenExpiredException
 
DelegationTokenExpiredException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenExpiredException
 
DelegationTokenNotFoundException - Exception in org.apache.kafka.common.errors
 
DelegationTokenNotFoundException(String) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenNotFoundException
 
DelegationTokenNotFoundException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenNotFoundException
 
DelegationTokenOwnerMismatchException - Exception in org.apache.kafka.common.errors
 
DelegationTokenOwnerMismatchException(String) - Constructor for exception org.apache.kafka.common.errors.DelegationTokenOwnerMismatchException
 
DelegationTokenOwnerMismatchException(String, Throwable) - Constructor for exception 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_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.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>, 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>) - 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 class org.apache.kafka.clients.admin.KafkaAdminClient
 
DeleteConsumerGroupOffsetsOptions - Class in org.apache.kafka.clients.admin
DeleteConsumerGroupOffsetsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteConsumerGroupOffsetsOptions
 
DeleteConsumerGroupOffsetsResult - Class in org.apache.kafka.clients.admin
deleteConsumerGroups(Collection<String>, DeleteConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
Delete consumer groups from the cluster.
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 class org.apache.kafka.clients.admin.KafkaAdminClient
 
DeleteConsumerGroupsOptions - Class in org.apache.kafka.clients.admin
DeleteConsumerGroupsOptions() - Constructor for class org.apache.kafka.clients.admin.DeleteConsumerGroupsOptions
 
DeleteConsumerGroupsResult - Class in org.apache.kafka.clients.admin
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 The API for this class is still evolving and we may break compatibility in minor releases, if necessary.
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.KafkaAdminClient
 
DeleteRecordsOptions - Class in org.apache.kafka.clients.admin
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(Collection, DeleteTopicsOptions) with default options.
deleteTopics(Collection<String>, DeleteTopicsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
Delete a batch of topics.
deleteTopics(Collection<String>, DeleteTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
 
DeleteTopicsOptions - Class in org.apache.kafka.clients.admin
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
dependents - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
 
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.KafkaAdminClient
 
DescribeAclsOptions - Class in org.apache.kafka.clients.admin
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.
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.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
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.KafkaAdminClient
 
DescribeClusterOptions - Class in org.apache.kafka.clients.admin
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.KafkaAdminClient
 
DescribeConfigsOptions - Class in org.apache.kafka.clients.admin
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>, DescribeConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
Describe some group IDs in the cluster.
describeConsumerGroups(Collection<String>) - Method in interface org.apache.kafka.clients.admin.Admin
Describe some group IDs in the cluster, with the default options.
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
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.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
describedGroups() - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsResult
Return a map from group id to futures which yield 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.KafkaAdminClient
 
DescribeFeaturesOptions - Class in org.apache.kafka.clients.admin
DescribeFeaturesOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeFeaturesOptions
 
DescribeFeaturesResult - Class in org.apache.kafka.clients.admin
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.KafkaAdminClient
 
DescribeLogDirsOptions - Class in org.apache.kafka.clients.admin
Options for Admin.describeLogDirs(Collection) The API of this class is evolving, see Admin for details.
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.
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.KafkaAdminClient
 
DescribeReplicaLogDirsOptions - Class in org.apache.kafka.clients.admin
DescribeReplicaLogDirsOptions() - Constructor for class org.apache.kafka.clients.admin.DescribeReplicaLogDirsOptions
 
DescribeReplicaLogDirsResult - Class in org.apache.kafka.clients.admin
DescribeReplicaLogDirsResult.ReplicaLogDirInfo - Class in org.apache.kafka.clients.admin
 
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(Collection<String>, DescribeTopicsOptions) - Method in class org.apache.kafka.clients.admin.KafkaAdminClient
 
DescribeTopicsOptions - Class in org.apache.kafka.clients.admin
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.
DescribeTopicsResult(Map<String, KafkaFuture<TopicDescription>>) - Constructor for class org.apache.kafka.clients.admin.DescribeTopicsResult
 
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.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(String) - Method in class org.apache.kafka.clients.admin.DescribeUserScramCredentialsResult
 
description() - Method in class org.apache.kafka.common.MetricName
 
description() - Method in class org.apache.kafka.common.MetricNameTemplate
Get the description of the metric.
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(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, 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, byte[]) - Method in class org.apache.kafka.common.serialization.DoubleDeserializer
 
deserialize(String, Headers, byte[]) - Method in interface org.apache.kafka.common.serialization.ExtendedDeserializer
Deprecated.
Deserialize a record value from a byte array into a value or object.
deserialize(String, Headers, byte[]) - Method in class org.apache.kafka.common.serialization.ExtendedDeserializer.Wrapper
Deprecated.
 
deserialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ExtendedDeserializer.Wrapper
Deprecated.
 
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.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
 
Deserializer<T> - Interface in org.apache.kafka.common.serialization
An interface for converting bytes to objects.
deserializer() - Method in interface org.apache.kafka.common.serialization.Serde
 
deserializer() - Method in class org.apache.kafka.common.serialization.Serdes.WrapperSerde
 
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
 
DisconnectException - Exception in org.apache.kafka.common.errors
Server disconnected before a request could be completed.
DisconnectException() - Constructor for exception org.apache.kafka.common.errors.DisconnectException
 
DisconnectException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DisconnectException
 
DisconnectException(String) - Constructor for exception org.apache.kafka.common.errors.DisconnectException
 
DisconnectException(Throwable) - Constructor for exception org.apache.kafka.common.errors.DisconnectException
 
displayName - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
 
divergentOffsets() - Method in exception org.apache.kafka.clients.consumer.LogTruncationException
Get the divergent offsets for the partitions which were truncated.
documentation() - Method in class org.apache.kafka.clients.admin.ConfigEntry
Return the config documentation.
documentation - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
 
documentationOf(String) - Method in class org.apache.kafka.common.config.AbstractConfig
 
Double() - Static method in class org.apache.kafka.common.serialization.Serdes
 
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
 
DuplicateResourceException - Exception 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 org.apache.kafka.common.errors.DuplicateResourceException
Constructor
DuplicateResourceException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DuplicateResourceException
 
DuplicateResourceException(String, String) - Constructor for exception org.apache.kafka.common.errors.DuplicateResourceException
Constructor
DuplicateResourceException(String, String, Throwable) - Constructor for exception org.apache.kafka.common.errors.DuplicateResourceException
Constructor
DuplicateSequenceException - Exception in org.apache.kafka.common.errors
 
DuplicateSequenceException(String) - Constructor for exception org.apache.kafka.common.errors.DuplicateSequenceException
 

E

earliest() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
Used to retrieve the earliest offset of a partition
EarliestSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.EarliestSpec
 
ElectionNotNeededException - Exception in org.apache.kafka.common.errors
 
ElectionNotNeededException(String) - Constructor for exception org.apache.kafka.common.errors.ElectionNotNeededException
 
ElectionNotNeededException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ElectionNotNeededException
 
ElectionType - Enum 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 to partitions is null.
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, see Admin for details.
electPreferredLeaders(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.admin.Admin
Deprecated.
electPreferredLeaders(Collection<TopicPartition>, ElectPreferredLeadersOptions) - Method in interface org.apache.kafka.clients.admin.Admin
ElectPreferredLeadersOptions - Class in org.apache.kafka.clients.admin
ElectPreferredLeadersOptions() - Constructor for class org.apache.kafka.clients.admin.ElectPreferredLeadersOptions
Deprecated.
 
ElectPreferredLeadersResult - Class in org.apache.kafka.clients.admin
EligibleLeadersNotAvailableException - Exception in org.apache.kafka.common.errors
 
EligibleLeadersNotAvailableException(String) - Constructor for exception org.apache.kafka.common.errors.EligibleLeadersNotAvailableException
 
EligibleLeadersNotAvailableException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.EligibleLeadersNotAvailableException
 
embed(String, String, int, ConfigDef) - Method in class org.apache.kafka.common.config.ConfigDef
 
EMPTY - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecords
 
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.
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
 
endOffsets(Collection<TopicPartition>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
endOffsets(Collection<TopicPartition>, Duration) - 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>, Duration) - 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 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 interface org.apache.kafka.server.authorizer.AuthorizerServerInfo
Returns endpoints for all listeners including the advertised host and port to which the listener is bound.
enforceRebalance() - Method in interface org.apache.kafka.clients.consumer.Consumer
 
enforceRebalance() - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
Alert the consumer to trigger a new rebalance by rejoining the group.
enforceRebalance() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
ensureExtended(Deserializer<T>) - Static method in class org.apache.kafka.common.serialization.ExtendedDeserializer.Wrapper
Deprecated.
 
ensureExtended(Serializer<T>) - Static method in class org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper
Deprecated.
 
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.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.
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.
entry() - Method in class org.apache.kafka.common.acl.AclBinding
 
entryFilter() - Method in class org.apache.kafka.common.acl.AclBindingFilter
 
equals(Object) - Method in class org.apache.kafka.clients.admin.AlterConfigOp
 
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.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.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.RecordsToDelete
 
equals(Object) - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
 
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.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.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.resource.Resource
 
equals(Object) - Method in class org.apache.kafka.common.resource.ResourceFilter
 
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
 
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.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.server.authorizer.Action
 
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
error(String, String, String) - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
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.
errorScope() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
errorStatus() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerValidatorCallback
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.
eventCount - Variable in class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
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_CONFIG_ALIAS - 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.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
expiryTimePeriodMs(long) - Method in class org.apache.kafka.clients.admin.ExpireDelegationTokenOptions
 
expiryTimePeriodMs() - 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
 
ExtendedDeserializer<T> - Interface in org.apache.kafka.common.serialization
Deprecated.
This class has been deprecated and will be removed in a future release. Please use Deserializer instead.
ExtendedDeserializer.Wrapper<T> - Class in org.apache.kafka.common.serialization
Deprecated.
 
ExtendedSerializer<T> - Interface in org.apache.kafka.common.serialization
Deprecated.
This class has been deprecated and will be removed in a future release. Please use Serializer instead.
ExtendedSerializer.Wrapper<T> - Class in org.apache.kafka.common.serialization
Deprecated.
 
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(SaslExtensions) - Method in class org.apache.kafka.common.security.auth.SaslExtensionsCallback
Sets the SASL extensions on this callback.
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.

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, boolean) - Constructor for class org.apache.kafka.clients.admin.FeatureUpdate
 
FeatureUpdateFailedException - Exception in org.apache.kafka.common.errors
 
FeatureUpdateFailedException(String) - Constructor for exception org.apache.kafka.common.errors.FeatureUpdateFailedException
 
FeatureUpdateFailedException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.FeatureUpdateFailedException
 
FencedInstanceIdException - Exception in org.apache.kafka.common.errors
 
FencedInstanceIdException(String) - Constructor for exception org.apache.kafka.common.errors.FencedInstanceIdException
 
FencedInstanceIdException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.FencedInstanceIdException
 
FencedLeaderEpochException - Exception 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 org.apache.kafka.common.errors.FencedLeaderEpochException
 
FencedLeaderEpochException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.FencedLeaderEpochException
 
fenceProducer() - Method in class org.apache.kafka.clients.producer.MockProducer
 
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 in org.apache.kafka.common.errors
 
FetchSessionIdNotFoundException() - Constructor for exception org.apache.kafka.common.errors.FetchSessionIdNotFoundException
 
FetchSessionIdNotFoundException(String) - Constructor for exception org.apache.kafka.common.errors.FetchSessionIdNotFoundException
 
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 org.apache.kafka.common.errors.ApiException
 
fillInStackTrace() - Method in exception org.apache.kafka.common.errors.SerializationException
 
fillInStackTrace() - Method in exception org.apache.kafka.common.metrics.QuotaViolationException
 
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.
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.ResourceFilter
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
 
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 org.apache.kafka.common.config.SslClientAuth
 
forGroupId(String) - Static method in exception org.apache.kafka.common.errors.GroupAuthorizationException
 
forId(byte) - Static method in enum org.apache.kafka.clients.admin.AlterConfigOp.OpType
 
forId(byte) - Static method in enum org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
 
forId(byte) - Static method in enum org.apache.kafka.common.config.ConfigResource.Type
 
forId(byte) - Static method in enum org.apache.kafka.common.IsolationLevel
 
forId(int) - Static method in enum org.apache.kafka.common.metrics.Sensor.RecordingLevel
 
forId(short) - Static method in enum org.apache.kafka.common.security.auth.SecurityProtocol
 
forName(String) - Static method in enum org.apache.kafka.common.metrics.Sensor.RecordingLevel
Case insensitive lookup by protocol name
forName(String) - Static method in enum 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
Frequencies - Class in org.apache.kafka.common.metrics.stats
A CompoundStat that represents a normalized distribution with a Frequency 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 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 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 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 org.apache.kafka.common.resource.ResourceType
Return the ResourceType with the provided code or `ResourceType.UNKNOWN` if one cannot be found.
fromMechanismName(String) - Static method in enum org.apache.kafka.clients.admin.ScramMechanism
 
fromString(String) - Static method in enum org.apache.kafka.common.acl.AclOperation
Parse the given string as an ACL operation.
fromString(String) - Static method in enum org.apache.kafka.common.acl.AclPermissionType
Parse the given string as an ACL permission.
fromString(String) - Static method in enum 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 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.security.auth.KafkaPrincipal
Deprecated.
As of 1.0.0. This method will be removed in a future major release.
fromType(byte) - Static method in enum org.apache.kafka.clients.admin.ScramMechanism
 
Function() - Constructor for class org.apache.kafka.common.KafkaFuture.Function
 

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
 
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 class org.apache.kafka.common.config.AbstractConfig
 
get(String) - Method in interface org.apache.kafka.common.config.provider.ConfigProvider
Retrieves the data at the given path.
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) - 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, 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 by path.
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 class org.apache.kafka.common.config.provider.FileConfigProvider
Retrieves the data with the given keys at the given Properties file.
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.
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.
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.
getConfigValue(ConfigDef.ConfigKey, String) - Method in class org.apache.kafka.common.config.ConfigDef
 
getCurrentReplicaLogDir() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
 
getCurrentReplicaOffsetLag() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
 
getDouble(String) - Method in class org.apache.kafka.common.config.AbstractConfig
 
getFutureReplicaLogDir() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
 
getFutureReplicaOffsetLag() - Method in class org.apache.kafka.clients.admin.DescribeReplicaLogDirsResult.ReplicaLogDirInfo
 
getInt(String) - Method in class org.apache.kafka.common.config.AbstractConfig
 
getList(String) - Method in class org.apache.kafka.common.config.AbstractConfig
 
getLong(String) - Method in class org.apache.kafka.common.config.AbstractConfig
 
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_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
GroupAssignment(Map<String, ConsumerPartitionAssignor.Assignment>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupAssignment
 
groupAssignment() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupAssignment
 
GroupAuthorizationException - Exception in org.apache.kafka.common.errors
 
GroupAuthorizationException(String, String) - Constructor for exception org.apache.kafka.common.errors.GroupAuthorizationException
 
GroupAuthorizationException(String) - Constructor for exception org.apache.kafka.common.errors.GroupAuthorizationException
 
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.consumer.ConsumerGroupMetadata
 
groupId() - Method in exception org.apache.kafka.common.errors.GroupAuthorizationException
Return the group ID that failed authorization.
GroupIdNotFoundException - Exception in org.apache.kafka.common.errors
 
GroupIdNotFoundException(String) - Constructor for exception 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
 
GroupMaxSizeReachedException - Exception 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 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 in org.apache.kafka.common.errors
 
GroupNotEmptyException(String) - Constructor for exception org.apache.kafka.common.errors.GroupNotEmptyException
 
groups() - Method in class org.apache.kafka.common.config.ConfigDef
Get the groups for the configuration
GroupSubscribedToTopicException - Exception in org.apache.kafka.common.errors
 
GroupSubscribedToTopicException(String) - Constructor for exception org.apache.kafka.common.errors.GroupSubscribedToTopicException
 
GroupSubscription(Map<String, ConsumerPartitionAssignor.Subscription>) - Constructor for class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupSubscription
 
groupSubscription() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.GroupSubscription
 
GSSAPI_MECHANISM - Static variable in class org.apache.kafka.common.config.SaslConfigs
 

H

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.AlterConfigOp
 
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.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.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.RecordsToDelete
 
hashCode() - Method in class org.apache.kafka.clients.admin.ScramCredentialInfo
 
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.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.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.resource.Resource
 
hashCode() - Method in class org.apache.kafka.common.resource.ResourceFilter
 
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
 
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.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.server.authorizer.Action
 
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 class org.apache.kafka.common.config.ConfigDef
 
Headers - Interface in org.apache.kafka.common.header
 
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.
HEARTBEAT_INTERVAL_MS_CONFIG - Static variable in class org.apache.kafka.clients.consumer.ConsumerConfig
heartbeat.interval.ms
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.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() - Method in enum org.apache.kafka.clients.admin.AlterConfigOp.OpType
 
id() - Method in enum org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.RebalanceProtocol
 
id() - Method in enum org.apache.kafka.common.config.ConfigResource.Type
 
id() - Method in enum org.apache.kafka.common.IsolationLevel
 
id - Variable in enum org.apache.kafka.common.metrics.Sensor.RecordingLevel
the permanent and immutable id of an API--this can't change ever
id() - Method in class org.apache.kafka.common.Node
The node id of this node
id - Variable in enum 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
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 in org.apache.kafka.common.errors
 
IllegalGenerationException() - Constructor for exception org.apache.kafka.common.errors.IllegalGenerationException
 
IllegalGenerationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.IllegalGenerationException
 
IllegalGenerationException(String) - Constructor for exception org.apache.kafka.common.errors.IllegalGenerationException
 
IllegalGenerationException(Throwable) - Constructor for exception org.apache.kafka.common.errors.IllegalGenerationException
 
IllegalSaslStateException - Exception in org.apache.kafka.common.errors
This exception indicates unexpected requests prior to SASL authentication.
IllegalSaslStateException(String) - Constructor for exception org.apache.kafka.common.errors.IllegalSaslStateException
 
IllegalSaslStateException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.IllegalSaslStateException
 
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
 
INCLUDE_CONFIG_ALIAS - Static variable in class org.apache.kafka.common.metrics.JmxReporter
 
includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
 
includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeClusterOptions
Specify if authorized operations should be included in the response.
includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsOptions
 
includeAuthorizedOperations() - Method in class org.apache.kafka.clients.admin.DescribeConsumerGroupsOptions
 
includeAuthorizedOperations(boolean) - Method in class org.apache.kafka.clients.admin.DescribeTopicsOptions
 
includeAuthorizedOperations() - 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.
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.
InconsistentGroupProtocolException - Exception in org.apache.kafka.common.errors
 
InconsistentGroupProtocolException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InconsistentGroupProtocolException
 
InconsistentGroupProtocolException(String) - Constructor for exception org.apache.kafka.common.errors.InconsistentGroupProtocolException
 
InconsistentVoterSetException - Exception in org.apache.kafka.common.errors
 
InconsistentVoterSetException(String) - Constructor for exception org.apache.kafka.common.errors.InconsistentVoterSetException
 
InconsistentVoterSetException(String, Throwable) - Constructor for exception 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 given newAssignments.
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.KafkaAdminClient
 
INDEX_INTERVAL_BYTES_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
 
INDEX_INTERVAL_BYTES_DOCS - Static variable in class org.apache.kafka.common.config.TopicConfig
 
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
init(Properties) - Method in interface org.apache.kafka.common.MessageFormatter
Deprecated.
Use MessageFormatter.configure(Map) instead, this method is for backward compatibility with the older Formatter interface
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
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
 
initialValue - Variable in class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
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
inputExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
 
INSTANCE - Static variable in exception org.apache.kafka.common.errors.CoordinatorNotAvailableException
 
INSTANCE - Static variable in exception org.apache.kafka.common.errors.DisconnectException
 
inStates(Set<ConsumerGroupState>) - Method in class org.apache.kafka.clients.admin.ListConsumerGroupsOptions
If states is set, only groups in these states will be returned by listConsumerGroups() Otherwise, all groups are returned.
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
Integer() - Static method in class org.apache.kafka.common.serialization.Serdes
 
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 Type in org.apache.kafka.common.annotation
Compatibility may be broken at minor release (i.e.
InterfaceStability.Stable - Annotation Type 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 Type 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 in org.apache.kafka.common.errors
An unchecked wrapper for InterruptedException
InterruptException(InterruptedException) - Constructor for exception org.apache.kafka.common.errors.InterruptException
 
InterruptException(String, InterruptedException) - Constructor for exception org.apache.kafka.common.errors.InterruptException
 
InterruptException(String) - Constructor for exception org.apache.kafka.common.errors.InterruptException
 
InvalidCommitOffsetSizeException - Exception in org.apache.kafka.common.errors
 
InvalidCommitOffsetSizeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidCommitOffsetSizeException
 
InvalidCommitOffsetSizeException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidCommitOffsetSizeException
 
InvalidConfigurationException - Exception in org.apache.kafka.common.errors
 
InvalidConfigurationException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidConfigurationException
 
InvalidConfigurationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidConfigurationException
 
invalidExtensions() - Method in class org.apache.kafka.common.security.oauthbearer.OAuthBearerExtensionsValidatorCallback
 
InvalidFetchSessionEpochException - Exception in org.apache.kafka.common.errors
 
InvalidFetchSessionEpochException() - Constructor for exception org.apache.kafka.common.errors.InvalidFetchSessionEpochException
 
InvalidFetchSessionEpochException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidFetchSessionEpochException
 
InvalidFetchSizeException - Exception in org.apache.kafka.common.errors
 
InvalidFetchSizeException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidFetchSizeException
 
InvalidFetchSizeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidFetchSizeException
 
InvalidGroupIdException - Exception in org.apache.kafka.common.errors
 
InvalidGroupIdException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidGroupIdException
 
InvalidGroupIdException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidGroupIdException
 
InvalidMetadataException - Exception in org.apache.kafka.common.errors
An exception that may indicate the client's metadata is out of date
InvalidMetadataException() - Constructor for exception org.apache.kafka.common.errors.InvalidMetadataException
 
InvalidMetadataException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidMetadataException
 
InvalidMetadataException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidMetadataException
 
InvalidMetadataException(Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidMetadataException
 
InvalidOffsetException - Exception 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(String) - Constructor for exception org.apache.kafka.clients.consumer.InvalidOffsetException
 
InvalidOffsetException - Exception 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 org.apache.kafka.common.errors.InvalidOffsetException
 
InvalidOffsetException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidOffsetException
 
InvalidPartitionsException - Exception in org.apache.kafka.common.errors
 
InvalidPartitionsException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidPartitionsException
 
InvalidPartitionsException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidPartitionsException
 
InvalidPidMappingException - Exception in org.apache.kafka.common.errors
 
InvalidPidMappingException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidPidMappingException
 
InvalidPrincipalTypeException - Exception in org.apache.kafka.common.errors
 
InvalidPrincipalTypeException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidPrincipalTypeException
 
InvalidPrincipalTypeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidPrincipalTypeException
 
InvalidProducerEpochException - Exception 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 org.apache.kafka.common.errors.InvalidProducerEpochException
 
InvalidRecordException - Exception in org.apache.kafka.common
 
InvalidRecordException(String) - Constructor for exception org.apache.kafka.common.InvalidRecordException
 
InvalidRecordException(String, Throwable) - Constructor for exception org.apache.kafka.common.InvalidRecordException
 
InvalidReplicaAssignmentException - Exception in org.apache.kafka.common.errors
 
InvalidReplicaAssignmentException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidReplicaAssignmentException
 
InvalidReplicaAssignmentException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidReplicaAssignmentException
 
InvalidReplicationFactorException - Exception in org.apache.kafka.common.errors
 
InvalidReplicationFactorException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidReplicationFactorException
 
InvalidReplicationFactorException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidReplicationFactorException
 
InvalidRequestException - Exception in org.apache.kafka.common.errors
Thrown when a request breaks basic wire protocol rules.
InvalidRequestException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidRequestException
 
InvalidRequestException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidRequestException
 
InvalidRequiredAcksException - Exception in org.apache.kafka.common.errors
 
InvalidRequiredAcksException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidRequiredAcksException
 
InvalidSessionTimeoutException - Exception in org.apache.kafka.common.errors
 
InvalidSessionTimeoutException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidSessionTimeoutException
 
InvalidSessionTimeoutException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidSessionTimeoutException
 
InvalidTimestampException - Exception in org.apache.kafka.common.errors
Indicate the timestamp of a record is invalid.
InvalidTimestampException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidTimestampException
 
InvalidTimestampException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidTimestampException
 
InvalidTopicException - Exception in org.apache.kafka.common.errors
The client has attempted to perform an operation on an invalid topic.
InvalidTopicException() - Constructor for exception org.apache.kafka.common.errors.InvalidTopicException
 
InvalidTopicException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidTopicException
 
InvalidTopicException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidTopicException
 
InvalidTopicException(Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidTopicException
 
InvalidTopicException(Set<String>) - Constructor for exception org.apache.kafka.common.errors.InvalidTopicException
 
invalidTopics() - Method in class org.apache.kafka.common.Cluster
 
invalidTopics() - Method in exception org.apache.kafka.common.errors.InvalidTopicException
 
InvalidTxnStateException - Exception in org.apache.kafka.common.errors
 
InvalidTxnStateException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidTxnStateException
 
InvalidTxnTimeoutException - Exception 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, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidTxnTimeoutException
 
InvalidTxnTimeoutException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidTxnTimeoutException
 
InvalidUpdateVersionException - Exception in org.apache.kafka.common.errors
 
InvalidUpdateVersionException(String) - Constructor for exception org.apache.kafka.common.errors.InvalidUpdateVersionException
 
InvalidUpdateVersionException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.InvalidUpdateVersionException
 
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.
isComplete(long, MetricConfig) - Method in class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
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.
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.
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 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.
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.
isSpecific() - Method in enum org.apache.kafka.common.resource.PatternType
 
issueTimestamp() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
 
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 org.apache.kafka.common.acl.AclOperation
Return true if this operation is UNKNOWN.
isUnknown() - Method in enum org.apache.kafka.common.acl.AclPermissionType
Return true if this permission type is UNKNOWN.
isUnknown() - Method in enum 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.ResourceFilter
Return true if this ResourceFilter 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 org.apache.kafka.common.resource.ResourceType
Return whether this resource type is UNKNOWN.
isUpperBound() - Method in class org.apache.kafka.common.metrics.Quota
 
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
 
JmxReporter(String) - Constructor for class org.apache.kafka.common.metrics.JmxReporter
Deprecated.
Since 2.6.0. Use JmxReporter.JmxReporter() Initialize JmxReporter with JmxReporter.contextChange(MetricsContext) Populate prefix by adding _namespace/prefix key value pair to MetricsContext

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(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 value Deserializer.
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.
KafkaException - Exception in org.apache.kafka.common
The base class of all other Kafka exceptions
KafkaException(String, Throwable) - Constructor for exception org.apache.kafka.common.KafkaException
 
KafkaException(String) - Constructor for exception org.apache.kafka.common.KafkaException
 
KafkaException(Throwable) - Constructor for exception org.apache.kafka.common.KafkaException
 
KafkaException() - Constructor for exception 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.
KafkaFuture.Function<A,B> - Class in org.apache.kafka.common
A function which takes objects of type A and returns objects of type B.
KafkaMetric - Class in org.apache.kafka.common.metrics
 
KafkaMetric(Object, MetricName, MetricValueProvider<?>, MetricConfig, Time) - Constructor for class org.apache.kafka.common.metrics.KafkaMetric
 
KafkaMetricsContext - Class in org.apache.kafka.common.metrics
A 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
 
KafkaPrincipalBuilder - Interface in org.apache.kafka.common.security.auth
Pluggable principal builder interface which supports both SSL authentication through SslAuthenticationContext and SASL through SaslAuthenticationContext.
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.
KafkaStorageException - Exception in org.apache.kafka.common.errors
Miscellaneous disk-related IOException occurred when handling a request.
KafkaStorageException() - Constructor for exception org.apache.kafka.common.errors.KafkaStorageException
 
KafkaStorageException(String) - Constructor for exception org.apache.kafka.common.errors.KafkaStorageException
 
KafkaStorageException(Throwable) - Constructor for exception org.apache.kafka.common.errors.KafkaStorageException
 
KafkaStorageException(String, Throwable) - Constructor for exception 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_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
 
keystore() - Method in interface org.apache.kafka.common.security.auth.SslEngineFactory
Returns keystore configured for this factory.

L

lastHeader(String) - Method in interface org.apache.kafka.common.header.Headers
Returns just one (the very last) header for the given key, if present.
lastPollTimeout() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
lastWindowMs - Variable in class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
latest() - Static method in class org.apache.kafka.clients.admin.OffsetSpec
Used to retrieve the latest offset of a partition
LatestSpec() - Constructor for class org.apache.kafka.clients.admin.OffsetSpec.LatestSpec
 
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.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
LeaderNotAvailableException - Exception 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 org.apache.kafka.common.errors.LeaderNotAvailableException
 
LeaderNotAvailableException(String, Throwable) - Constructor for exception 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
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
listConsumerGroupOffsets(String, ListConsumerGroupOffsetsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
List the consumer group offsets available in the cluster.
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 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
listConsumerGroups(ListConsumerGroupsOptions) - Method in interface org.apache.kafka.clients.admin.Admin
List the consumer groups available in the cluster.
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 class org.apache.kafka.clients.admin.KafkaAdminClient
 
ListConsumerGroupsOptions - Class in org.apache.kafka.clients.admin
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.
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 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 org.apache.kafka.common.errors.ListenerNotFoundException
 
ListenerNotFoundException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ListenerNotFoundException
 
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.KafkaAdminClient
 
ListOffsetsOptions - Class in org.apache.kafka.clients.admin
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(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
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.KafkaAdminClient
 
ListPartitionReassignmentsOptions - Class in org.apache.kafka.clients.admin
Options for Admin.listPartitionReassignments(ListPartitionReassignmentsOptions) The API of this class is evolving.
ListPartitionReassignmentsOptions() - Constructor for class org.apache.kafka.clients.admin.ListPartitionReassignmentsOptions
 
ListPartitionReassignmentsResult - Class in org.apache.kafka.clients.admin
listTopics() - Method in interface org.apache.kafka.clients.admin.Admin
List the topics available in the cluster with the default options.
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.KafkaAdminClient
 
listTopics() - Method in interface org.apache.kafka.clients.consumer.Consumer
 
listTopics(Duration) - 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(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() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
listTopics(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
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.
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
 
LogDirNotFoundException - Exception 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 org.apache.kafka.common.errors.LogDirNotFoundException
 
LogDirNotFoundException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.LogDirNotFoundException
 
LogDirNotFoundException(Throwable) - Constructor for exception org.apache.kafka.common.errors.LogDirNotFoundException
 
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 - Interface in org.apache.kafka.common.security.auth
Login interface for authentication.
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
 
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 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 org.apache.kafka.clients.consumer.LogTruncationException
 
logUnused() - Method in class org.apache.kafka.common.config.AbstractConfig
Log warnings for any unused configurations
Long() - Static method in class org.apache.kafka.common.serialization.Serdes
 
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
 
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
 
map() - Method in class org.apache.kafka.common.security.auth.SaslExtensions
Returns an immutable map of the extension names and their values
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(Resource) - Method in class org.apache.kafka.common.resource.ResourceFilter
Return true if this filter matches the given Resource.
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.ResourceFilter
Return true if this filter could 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 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(long) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
 
maxlifeTimeMs() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
 
maxTimestamp() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
 
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
 
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 also Measurable (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 org.apache.kafka.clients.admin.ScramMechanism
 
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.
memberData(ConsumerPartitionAssignor.Subscription) - Method in class org.apache.kafka.clients.consumer.CooperativeStickyAssignor
 
memberData(ConsumerPartitionAssignor.Subscription) - Method in class org.apache.kafka.clients.consumer.StickyAssignor
 
MemberDescription - Class in org.apache.kafka.clients.admin
A detailed description of a single group instance in the cluster.
MemberDescription(String, Optional<String>, String, String, MemberAssignment) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
 
MemberDescription(String, String, String, MemberAssignment) - Constructor for class org.apache.kafka.clients.admin.MemberDescription
 
memberId() - Method in class org.apache.kafka.clients.consumer.ConsumerGroupMetadata
 
MemberIdRequiredException - Exception in org.apache.kafka.common.errors
 
MemberIdRequiredException(String) - Constructor for exception org.apache.kafka.common.errors.MemberIdRequiredException
 
MemberIdRequiredException(String, Throwable) - Constructor for exception 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.ConsumerGroupDescription
A list of the members of the consumer group.
members() - Method in class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
 
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
 
MESSAGE_DOWNCONVERSION_ENABLE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
 
MESSAGE_FORMAT_VERSION_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
 
MESSAGE_FORMAT_VERSION_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
 
MESSAGE_TIMESTAMP_DIFFERENCE_MAX_MS_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
 
MESSAGE_TIMESTAMP_DIFFERENCE_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
Meter - Class in org.apache.kafka.common.metrics.stats
A compound stat that includes a rate metric and a cumulative total metric.
Meter(MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
Construct a Meter with seconds as time unit
Meter(TimeUnit, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
Construct a Meter with provided time unit
Meter(SampledStat, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
Construct a Meter with seconds as time unit
Meter(TimeUnit, SampledStat, MetricName, MetricName) - Constructor for class org.apache.kafka.common.metrics.stats.Meter
Construct a Meter with provided time unit
Metric - Interface in org.apache.kafka.common
A metric tracked for monitoring purposes.
metric(MetricName) - Method in class org.apache.kafka.common.metrics.Metrics
 
metric() - Method in exception org.apache.kafka.common.metrics.QuotaViolationException
 
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 - 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)
metricName() - Method in class org.apache.kafka.common.metrics.KafkaMetric
 
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, 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) - 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, 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, 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.
MetricNameTemplate - Class in org.apache.kafka.common
A template for a MetricName.
MetricNameTemplate(String, String, String, Set<String>) - Constructor for class org.apache.kafka.common.MetricNameTemplate
Create a new template.
MetricNameTemplate(String, String, String, 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.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.MockConsumer
 
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 - 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(Time) - Constructor for class org.apache.kafka.common.metrics.Metrics
Create a metrics repository with no metric reporters and default configuration.
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(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, 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, 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() - Method in class org.apache.kafka.common.metrics.Metrics
Get all the metrics currently maintained indexed by metricName
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 The contextLabels map provides following information: - a _namespace field indicating the component exposing metrics e.g.
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
 
MetricValueProvider<T> - Interface in org.apache.kafka.common.metrics
Super-interface for Measurable or Gauge 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
 
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(OffsetResetStrategy) - Constructor for class org.apache.kafka.clients.consumer.MockConsumer
 
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(Cluster, boolean, Partitioner, Serializer<K>, Serializer<V>) - Constructor for class org.apache.kafka.clients.producer.MockProducer
Create a mock producer
MockProducer(boolean, 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 and key\value serializers.
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() - Constructor for class org.apache.kafka.clients.producer.MockProducer
Create a new mock producer with invented metadata.

N

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.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 - Variable in class org.apache.kafka.common.config.ConfigDef.ConfigKey
 
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 - Variable in enum org.apache.kafka.common.metrics.Sensor.RecordingLevel
an english description of the api--this is for debugging and can change
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.ResourceFilter
Return the resource name or null.
name() - Method in class org.apache.kafka.common.resource.ResourcePattern
 
name() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
 
name - Variable in enum org.apache.kafka.common.security.auth.SecurityProtocol
Name of the security protocol.
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 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 in org.apache.kafka.common.errors
A misc.
NetworkException() - Constructor for exception org.apache.kafka.common.errors.NetworkException
 
NetworkException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NetworkException
 
NetworkException(String) - Constructor for exception org.apache.kafka.common.errors.NetworkException
 
NetworkException(Throwable) - Constructor for exception org.apache.kafka.common.errors.NetworkException
 
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).
newSample(long) - Method in class org.apache.kafka.common.metrics.stats.Frequencies
 
newSample(long) - Method in class org.apache.kafka.common.metrics.stats.Percentiles
 
newSample(long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
 
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, Optional<Integer>, Optional<Short>) - Constructor for class org.apache.kafka.clients.admin.NewTopic
A new topic that optionally defaults numPartitions and replicationFactor to the broker configurations for num.partitions and default.replication.factor respectively.
NewTopic(String, Map<Integer, List<Integer>>) - Constructor for class org.apache.kafka.clients.admin.NewTopic
A new topic with the specified replica assignment configuration.
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_SASL_EXTENSIONS - Static variable in class org.apache.kafka.common.security.auth.SaslExtensions
An "empty" instance indicating no SASL extensions
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
 
nodeById(int) - Method in class org.apache.kafka.common.Cluster
Get the node by the node id (or null if no such node exists)
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.common.Cluster
 
NON_RECONFIGURABLE_CONFIGS - Static variable in class org.apache.kafka.common.config.SslConfigs
 
NonEmptyString() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonEmptyString
 
NonEmptyStringWithoutControlChars() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
 
nonEmptyStringWithoutControlChars() - Static method in class org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
 
NonNullValidator() - Constructor for class org.apache.kafka.common.config.ConfigDef.NonNullValidator
 
noNode() - Static method in class org.apache.kafka.common.Node
 
NoOffsetForPartitionException - Exception in org.apache.kafka.clients.consumer
Indicates that there is no stored offset for a partition and no defined offset reset policy.
NoOffsetForPartitionException(TopicPartition) - Constructor for exception org.apache.kafka.clients.consumer.NoOffsetForPartitionException
 
NoOffsetForPartitionException(Collection<TopicPartition>) - Constructor for exception org.apache.kafka.clients.consumer.NoOffsetForPartitionException
 
NoReassignmentInProgressException - Exception in org.apache.kafka.common.errors
Thrown if a reassignment cannot be cancelled because none is in progress.
NoReassignmentInProgressException(String) - Constructor for exception org.apache.kafka.common.errors.NoReassignmentInProgressException
 
NoReassignmentInProgressException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NoReassignmentInProgressException
 
NotControllerException - Exception in org.apache.kafka.common.errors
 
NotControllerException(String) - Constructor for exception org.apache.kafka.common.errors.NotControllerException
 
NotControllerException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NotControllerException
 
NotCoordinatorException - Exception 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 org.apache.kafka.common.errors.NotCoordinatorException
 
NotCoordinatorException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NotCoordinatorException
 
NotEnoughReplicasAfterAppendException - Exception 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 org.apache.kafka.common.errors.NotEnoughReplicasAfterAppendException
 
NotEnoughReplicasException - Exception in org.apache.kafka.common.errors
Number of insync replicas for the partition is lower than min.insync.replicas
NotEnoughReplicasException() - Constructor for exception org.apache.kafka.common.errors.NotEnoughReplicasException
 
NotEnoughReplicasException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NotEnoughReplicasException
 
NotEnoughReplicasException(String) - Constructor for exception org.apache.kafka.common.errors.NotEnoughReplicasException
 
NotEnoughReplicasException(Throwable) - Constructor for exception org.apache.kafka.common.errors.NotEnoughReplicasException
 
NotLeaderForPartitionException - Exception in org.apache.kafka.common.errors
Deprecated.
NotLeaderForPartitionException() - Constructor for exception org.apache.kafka.common.errors.NotLeaderForPartitionException
Deprecated.
 
NotLeaderForPartitionException(String) - Constructor for exception org.apache.kafka.common.errors.NotLeaderForPartitionException
Deprecated.
 
NotLeaderForPartitionException(Throwable) - Constructor for exception org.apache.kafka.common.errors.NotLeaderForPartitionException
Deprecated.
 
NotLeaderForPartitionException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NotLeaderForPartitionException
Deprecated.
 
NotLeaderOrFollowerException - Exception 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 org.apache.kafka.common.errors.NotLeaderOrFollowerException
 
NotLeaderOrFollowerException(String) - Constructor for exception org.apache.kafka.common.errors.NotLeaderOrFollowerException
 
NotLeaderOrFollowerException(Throwable) - Constructor for exception org.apache.kafka.common.errors.NotLeaderOrFollowerException
 
NotLeaderOrFollowerException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.NotLeaderOrFollowerException
 
NULL_CHECKSUM - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecord
 
NULL_SIZE - Static variable in class org.apache.kafka.clients.consumer.ConsumerRecord
 
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.
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.

O

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 the SaslServer implementation when it needs to validate the SASL extensions for the OAUTHBEARER mechanism Callback handlers should use the OAuthBearerExtensionsValidatorCallback.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
 
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 the SaslClient and Login 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 the SaslServer 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
of(ConfigDef.Validator...) - Static method in class org.apache.kafka.common.config.ConfigDef.CompositeValidator
 
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.
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, Optional<Integer>, String) - 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) - 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 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 org.apache.kafka.common.errors.OffsetMetadataTooLarge
 
OffsetMetadataTooLarge(String) - Constructor for exception org.apache.kafka.common.errors.OffsetMetadataTooLarge
 
OffsetMetadataTooLarge(Throwable) - Constructor for exception org.apache.kafka.common.errors.OffsetMetadataTooLarge
 
OffsetMetadataTooLarge(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.OffsetMetadataTooLarge
 
OffsetNotAvailableException - Exception 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 org.apache.kafka.common.errors.OffsetNotAvailableException
 
OffsetOutOfRangeException - Exception 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(Map<TopicPartition, Long>) - Constructor for exception org.apache.kafka.clients.consumer.OffsetOutOfRangeException
 
OffsetOutOfRangeException(String, Map<TopicPartition, Long>) - Constructor for exception org.apache.kafka.clients.consumer.OffsetOutOfRangeException
 
OffsetOutOfRangeException - Exception 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 org.apache.kafka.common.errors.OffsetOutOfRangeException
 
OffsetOutOfRangeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.OffsetOutOfRangeException
 
offsetOutOfRangePartitions() - Method in exception org.apache.kafka.clients.consumer.OffsetOutOfRangeException
Get a map of the topic partitions and the respective out-of-range fetch offsets.
OffsetResetStrategy - Enum in org.apache.kafka.clients.consumer
 
offsetsForTimes(Map<TopicPartition, Long>) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
offsetsForTimes(Map<TopicPartition, Long>, Duration) - 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>, Duration) - 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 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.EarliestSpec - Class in org.apache.kafka.clients.admin
 
OffsetSpec.LatestSpec - Class in org.apache.kafka.clients.admin
 
OffsetSpec.TimestampSpec - Class in org.apache.kafka.clients.admin
 
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.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<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)
onNewBatch(String, Cluster, int) - Method in interface org.apache.kafka.clients.producer.Partitioner
Notifies the partitioner a new batch is about to be created.
onNewBatch(String, Cluster, int) - Method in class org.apache.kafka.clients.producer.UniformStickyPartitioner
If a batch completed for the current sticky partition, change the sticky partition.
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) and KafkaProducer.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.
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
Operation being performed.
OperationNotAttemptedException - Exception in org.apache.kafka.common.errors
Indicates that the broker did not attempt to execute this operation.
OperationNotAttemptedException(String) - Constructor for exception org.apache.kafka.common.errors.OperationNotAttemptedException
 
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
 
org.apache.kafka.clients.consumer - package org.apache.kafka.clients.consumer
 
org.apache.kafka.clients.producer - package org.apache.kafka.clients.producer
 
org.apache.kafka.common - package org.apache.kafka.common
 
org.apache.kafka.common.acl - package org.apache.kafka.common.acl
 
org.apache.kafka.common.annotation - package org.apache.kafka.common.annotation
 
org.apache.kafka.common.config - package org.apache.kafka.common.config
 
org.apache.kafka.common.config.provider - package org.apache.kafka.common.config.provider
 
org.apache.kafka.common.errors - package org.apache.kafka.common.errors
 
org.apache.kafka.common.header - package org.apache.kafka.common.header
 
org.apache.kafka.common.metrics - package org.apache.kafka.common.metrics
 
org.apache.kafka.common.metrics.stats - package org.apache.kafka.common.metrics.stats
 
org.apache.kafka.common.resource - package org.apache.kafka.common.resource
 
org.apache.kafka.common.security.auth - package org.apache.kafka.common.security.auth
 
org.apache.kafka.common.security.oauthbearer - package org.apache.kafka.common.security.oauthbearer
 
org.apache.kafka.common.security.plain - package org.apache.kafka.common.security.plain
 
org.apache.kafka.common.security.scram - package org.apache.kafka.common.security.scram
 
org.apache.kafka.common.security.token.delegation - package org.apache.kafka.common.security.token.delegation
 
org.apache.kafka.common.serialization - package org.apache.kafka.common.serialization
 
org.apache.kafka.server.authorizer - package org.apache.kafka.server.authorizer
 
org.apache.kafka.server.policy - package org.apache.kafka.server.policy
 
org.apache.kafka.server.quota - package org.apache.kafka.server.quota
 
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 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 org.apache.kafka.common.errors.OutOfOrderSequenceException
 
ownedPartitions() - Method in class org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
 
owner() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
 
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(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.
owners() - Method in class org.apache.kafka.clients.admin.DescribeDelegationTokenOptions
 

P

parse(Map<?, ?>) - Method in class org.apache.kafka.common.config.ConfigDef
Parse and validate configs against this configuration definition.
parse(String) - Static method in enum org.apache.kafka.common.ConsumerGroupState
Parse a string into a consumer group state.
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 exception org.apache.kafka.clients.consumer.NoOffsetForPartitionException
partition(String, Object, byte[], Object, byte[], Cluster) - Method in interface org.apache.kafka.clients.producer.Partitioner
Compute the partition for the given record.
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(String, Object, byte[], Object, byte[], Cluster) - Method in class org.apache.kafka.clients.producer.RoundRobinPartitioner
Compute the partition for the given record.
partition(String, Object, byte[], Object, byte[], Cluster) - Method in class org.apache.kafka.clients.producer.UniformStickyPartitioner
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() - Method in class org.apache.kafka.common.PartitionInfo
The partition id
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_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_CLASS_CONFIG - Static variable in class org.apache.kafka.clients.producer.ProducerConfig
partitioner.class
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
 
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.ElectPreferredLeadersResult
Deprecated.
Get the result of the election for the given partition.
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.ElectPreferredLeadersResult
Deprecated.
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 org.apache.kafka.clients.consumer.InvalidOffsetException
 
partitions() - Method in exception org.apache.kafka.clients.consumer.NoOffsetForPartitionException
returns all partitions for which no offests are defined.
partitions() - Method in exception org.apache.kafka.clients.consumer.OffsetOutOfRangeException
 
partitionsFor(String) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
partitionsFor(String, Duration) - 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, Duration) - 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, Duration) - 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
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
partitionsToOffsetAndMetadata() - Method in class org.apache.kafka.clients.admin.ListConsumerGroupOffsetsResult
Return a future which yields a map of topic partitions to OffsetAndMetadata objects.
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
pattern() - Method in class org.apache.kafka.common.acl.AclBinding
 
patternFilter() - Method in class org.apache.kafka.common.acl.AclBindingFilter
 
PatternType - Enum in org.apache.kafka.common.resource
Resource pattern type.
patternType() - Method in class org.apache.kafka.common.resource.ResourcePattern
 
patternType() - Method in class org.apache.kafka.common.resource.ResourcePatternFilter
 
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 - Class in org.apache.kafka.common.metrics.stats
 
Percentile(MetricName, double) - Constructor for class org.apache.kafka.common.metrics.stats.Percentile
 
percentile() - Method in 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, Percentiles.BucketSizing, Percentile...) - Constructor for class org.apache.kafka.common.metrics.stats.Percentiles
 
Percentiles(int, double, double, Percentiles.BucketSizing, Percentile...) - Constructor for class org.apache.kafka.common.metrics.stats.Percentiles
 
Percentiles.BucketSizing - Enum 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.
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
 
PlaintextAuthenticationContext - Class in org.apache.kafka.common.security.auth
 
PlaintextAuthenticationContext(InetAddress, String) - Constructor for class org.apache.kafka.common.security.auth.PlaintextAuthenticationContext
 
PolicyViolationException - Exception 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 org.apache.kafka.common.errors.PolicyViolationException
 
PolicyViolationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.PolicyViolationException
 
poll(long) - Method in interface org.apache.kafka.clients.consumer.Consumer
Deprecated.
poll(Duration) - Method in interface org.apache.kafka.clients.consumer.Consumer
 
poll(long) - Method in class org.apache.kafka.clients.consumer.KafkaConsumer
Deprecated.
Since 2.0. Use KafkaConsumer.poll(Duration), which does not block beyond the timeout awaiting partition assignment. See KIP-266 for more information.
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(long) - Method in class org.apache.kafka.clients.consumer.MockConsumer
Deprecated.
poll(Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
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, Duration) - 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, 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) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
position(TopicPartition, Duration) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
postProcessParsedConfig(Map<String, Object>) - Method in class org.apache.kafka.clients.admin.AdminClientConfig
 
postProcessParsedConfig(Map<String, Object>) - Method in class org.apache.kafka.clients.consumer.ConsumerConfig
 
postProcessParsedConfig(Map<String, Object>) - Method in class org.apache.kafka.clients.producer.ProducerConfig
 
postProcessParsedConfig(Map<String, Object>) - Method in class org.apache.kafka.common.config.AbstractConfig
Called directly after user configs got parsed (and thus default values got set).
PREALLOCATE_CONFIG - Static variable in class org.apache.kafka.common.config.TopicConfig
 
PREALLOCATE_DOC - Static variable in class org.apache.kafka.common.config.TopicConfig
 
PreferredLeaderNotAvailableException - Exception in org.apache.kafka.common.errors
 
PreferredLeaderNotAvailableException(String) - Constructor for exception org.apache.kafka.common.errors.PreferredLeaderNotAvailableException
 
PreferredLeaderNotAvailableException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.PreferredLeaderNotAvailableException
 
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.
PRINCIPAL_BUILDER_CLASS_CONFIG - Static variable in class org.apache.kafka.common.config.SslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
PRINCIPAL_BUILDER_CLASS_DOC - Static variable in class org.apache.kafka.common.config.SslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
PrincipalBuilder - Interface in org.apache.kafka.common.security.auth
Deprecated.
As of Kafka 1.0.0, use KafkaPrincipalBuilder instead. This will be removed in a future major release.
principalName() - Method in interface org.apache.kafka.common.security.oauthbearer.OAuthBearerToken
The name of the principal to which this credential applies
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(Properties) - Constructor for class org.apache.kafka.clients.producer.ProducerConfig
 
ProducerConfig(Map<String, Object>) - Constructor for class org.apache.kafka.clients.producer.ProducerConfig
 
ProducerFencedException - Exception 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 org.apache.kafka.common.errors.ProducerFencedException
 
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, 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, 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, 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, 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, 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
purgeObsoleteSamples(MetricConfig, long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat
 

Q

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 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 org.apache.kafka.common.metrics.QuotaViolationException
 

R

rack() - Method in class org.apache.kafka.common.Node
The rack for this node
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(SampledStat) - Constructor for class org.apache.kafka.common.metrics.stats.Rate
 
Rate(TimeUnit, SampledStat) - Constructor for class org.apache.kafka.common.metrics.stats.Rate
 
Rate.SampledTotal - Class in org.apache.kafka.common.metrics.stats
Deprecated.
since 2.4 Use WindowedSum instead.
reader(String) - Method in class org.apache.kafka.common.config.provider.FileConfigProvider
 
ReassignmentInProgressException - Exception 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 org.apache.kafka.common.errors.ReassignmentInProgressException
 
ReassignmentInProgressException(String, Throwable) - Constructor for exception 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 in org.apache.kafka.common.errors
 
RebalanceInProgressException() - Constructor for exception org.apache.kafka.common.errors.RebalanceInProgressException
 
RebalanceInProgressException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.RebalanceInProgressException
 
RebalanceInProgressException(String) - Constructor for exception org.apache.kafka.common.errors.RebalanceInProgressException
 
RebalanceInProgressException(Throwable) - Constructor for exception org.apache.kafka.common.errors.RebalanceInProgressException
 
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
 
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, 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(double) - Method in class org.apache.kafka.common.metrics.stats.Histogram
 
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 in org.apache.kafka.common.errors
This record batch is larger than the maximum allowable size
RecordBatchTooLargeException() - Constructor for exception org.apache.kafka.common.errors.RecordBatchTooLargeException
 
RecordBatchTooLargeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.RecordBatchTooLargeException
 
RecordBatchTooLargeException(String) - Constructor for exception org.apache.kafka.common.errors.RecordBatchTooLargeException
 
RecordBatchTooLargeException(Throwable) - Constructor for exception org.apache.kafka.common.errors.RecordBatchTooLargeException
 
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, long, long, Long, int, int) - Constructor for class org.apache.kafka.clients.producer.RecordMetadata
 
records(TopicPartition) - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
Get just the records for the given partition
records(String) - Method in class org.apache.kafka.clients.consumer.ConsumerRecords
Get just the records for the given topic
RecordsToDelete - Class in org.apache.kafka.clients.admin
Describe records to delete in a call to Admin.deleteRecords(Map) The API of this class is evolving, see Admin for details.
RecordTooLargeException - Exception in org.apache.kafka.common.errors
This record is larger than the maximum allowable size
RecordTooLargeException() - Constructor for exception org.apache.kafka.common.errors.RecordTooLargeException
 
RecordTooLargeException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.RecordTooLargeException
 
RecordTooLargeException(String) - Constructor for exception org.apache.kafka.common.errors.RecordTooLargeException
 
RecordTooLargeException(Throwable) - Constructor for exception org.apache.kafka.common.errors.RecordTooLargeException
 
RecordTooLargeException(String, Map<TopicPartition, Long>) - Constructor for exception org.apache.kafka.common.errors.RecordTooLargeException
 
recordTooLargePartitions() - Method in exception org.apache.kafka.common.errors.RecordTooLargeException
 
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.KafkaAdminClient
 
RemoveMembersFromConsumerGroupOptions - Class in org.apache.kafka.clients.admin
RemoveMembersFromConsumerGroupOptions(Collection<MemberToRemove>) - Constructor for class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
 
RemoveMembersFromConsumerGroupOptions() - Constructor for class org.apache.kafka.clients.admin.RemoveMembersFromConsumerGroupOptions
 
RemoveMembersFromConsumerGroupResult - Class in org.apache.kafka.clients.admin
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 ZooKeeper.
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.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
renewers(List<KafkaPrincipal>) - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
 
renewers() - Method in class org.apache.kafka.clients.admin.CreateDelegationTokenOptions
 
renewers() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
 
renewersAsString() - Method in class org.apache.kafka.common.security.token.delegation.TokenInformation
 
renewTimePeriodMs(long) - Method in class org.apache.kafka.clients.admin.RenewDelegationTokenOptions
 
renewTimePeriodMs() - Method in class org.apache.kafka.clients.admin.RenewDelegationTokenOptions
 
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 in org.apache.kafka.common.errors
The replica is not available for the requested topic partition.
ReplicaNotAvailableException(String) - Constructor for exception org.apache.kafka.common.errors.ReplicaNotAvailableException
 
ReplicaNotAvailableException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ReplicaNotAvailableException
 
ReplicaNotAvailableException(Throwable) - Constructor for exception 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(String) - Method in class org.apache.kafka.clients.admin.CreateTopicsResult
Returns a future that provides replication factor for the topic when the request completes.
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.
reporters() - Method in class org.apache.kafka.common.metrics.Metrics
 
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
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.
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.
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.
reset(long) - Method in class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
resetShouldRebalance() - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
resource() - Method in exception org.apache.kafka.common.errors.DuplicateResourceException
 
resource() - Method in exception org.apache.kafka.common.errors.ResourceNotFoundException
 
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.
resource() - Method in class org.apache.kafka.server.policy.AlterConfigPolicy.RequestMetadata
 
ResourceFilter - Class in org.apache.kafka.common.resource
A filter which matches Resource objects.
ResourceFilter(ResourceType, String) - Constructor for class org.apache.kafka.common.resource.ResourceFilter
Create an instance of this class with the provided parameters.
ResourceNotFoundException - Exception in org.apache.kafka.common.errors
Exception thrown due to a request for a resource that does not exist.
ResourceNotFoundException(String) - Constructor for exception org.apache.kafka.common.errors.ResourceNotFoundException
Constructor
ResourceNotFoundException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ResourceNotFoundException
 
ResourceNotFoundException(String, String) - Constructor for exception org.apache.kafka.common.errors.ResourceNotFoundException
Constructor
ResourceNotFoundException(String, String, Throwable) - Constructor for exception org.apache.kafka.common.errors.ResourceNotFoundException
Constructor
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.
resourcePattern() - Method in class org.apache.kafka.server.authorizer.Action
Resource on which action is being performed.
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.ResourceFilter
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 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 in org.apache.kafka.clients.consumer
 
RetriableCommitFailedException(Throwable) - Constructor for exception org.apache.kafka.clients.consumer.RetriableCommitFailedException
 
RetriableCommitFailedException(String) - Constructor for exception org.apache.kafka.clients.consumer.RetriableCommitFailedException
 
RetriableCommitFailedException(String, Throwable) - Constructor for exception org.apache.kafka.clients.consumer.RetriableCommitFailedException
 
RetriableException - Exception in org.apache.kafka.common.errors
A retriable exception is a transient exception that if retried may succeed.
RetriableException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.RetriableException
 
RetriableException(String) - Constructor for exception org.apache.kafka.common.errors.RetriableException
 
RetriableException(Throwable) - Constructor for exception org.apache.kafka.common.errors.RetriableException
 
RetriableException() - Constructor for exception 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_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.
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

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.
Sample(double, long) - Constructor for class org.apache.kafka.common.metrics.stats.SampledStat.Sample
 
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
 
SampledStat.Sample - Class in org.apache.kafka.common.metrics.stats
 
SampledTotal() - Constructor for class org.apache.kafka.common.metrics.stats.Rate.SampledTotal
Deprecated.
 
samples() - Method in class org.apache.kafka.common.metrics.MetricConfig
 
samples(int) - Method in class org.apache.kafka.common.metrics.MetricConfig
 
samples - Variable in class org.apache.kafka.common.metrics.stats.SampledStat
 
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_ENABLED_MECHANISMS - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
SASL_ENABLED_MECHANISMS_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
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_PRINCIPAL_TO_LOCAL_RULES - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
SASL_KERBEROS_PRINCIPAL_TO_LOCAL_RULES_DOC - Static variable in class org.apache.kafka.common.config.SaslConfigs
Deprecated.
As of 1.0.0. This field will be removed in a future major release.
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_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_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
 
SaslAuthenticationContext - Class in org.apache.kafka.common.security.auth
 
SaslAuthenticationContext(SaslServer, SecurityProtocol, InetAddress, String) - Constructor for class org.apache.kafka.common.security.auth.SaslAuthenticationContext
 
SaslAuthenticationException - Exception in org.apache.kafka.common.errors
This exception indicates that SASL authentication has failed.
SaslAuthenticationException(String) - Constructor for exception org.apache.kafka.common.errors.SaslAuthenticationException
 
SaslAuthenticationException(String, Throwable) - Constructor for exception 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
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.
scramCredential(ScramCredential) - Method in class org.apache.kafka.common.security.scram.ScramCredentialCallback
Sets the SCRAM credential for this instance.
scramCredential() - Method in class org.apache.kafka.common.security.scram.ScramCredentialCallback
Returns the SCRAM credential if set on this instance.
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 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 in org.apache.kafka.common.errors
An error indicating that security is disabled on the broker.
SecurityDisabledException(String) - Constructor for exception org.apache.kafka.common.errors.SecurityDisabledException
 
SecurityDisabledException(String, Throwable) - Constructor for exception 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 - Enum in org.apache.kafka.common.security.auth
 
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.
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, OffsetAndMetadata) - 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, 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, long) - Method in class org.apache.kafka.clients.consumer.MockConsumer
 
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>, 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>) - 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 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 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>, String) - 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.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>, String) - Method in class org.apache.kafka.clients.producer.MockProducer
 
sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, ConsumerGroupMetadata) - Method in class org.apache.kafka.clients.producer.MockProducer
 
sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, String) - Method in interface org.apache.kafka.clients.producer.Producer
sendOffsetsToTransaction(Map<TopicPartition, OffsetAndMetadata>, ConsumerGroupMetadata) - Method in interface org.apache.kafka.clients.producer.Producer
sendOffsetsToTransactionException - Variable in class org.apache.kafka.clients.producer.MockProducer
 
sendRequestToController(boolean) - Method in class org.apache.kafka.clients.admin.DescribeFeaturesOptions
Sets a flag indicating that the describe features request must be issued only to the controller.
sendRequestToController() - Method in class org.apache.kafka.clients.admin.DescribeFeaturesOptions
 
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, 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...) - 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, 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, 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, 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 - 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 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.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.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 in org.apache.kafka.common.errors
Any exception during serialization in the producer
SerializationException(String, Throwable) - Constructor for exception org.apache.kafka.common.errors.SerializationException
 
SerializationException(String) - Constructor for exception org.apache.kafka.common.errors.SerializationException
 
SerializationException(Throwable) - Constructor for exception org.apache.kafka.common.errors.SerializationException
 
SerializationException() - Constructor for exception org.apache.kafka.common.errors.SerializationException
 
serialize(String, byte[]) - Method in class org.apache.kafka.common.serialization.ByteArraySerializer
 
serialize(String, ByteBuffer) - Method in class org.apache.kafka.common.serialization.ByteBufferSerializer
 
serialize(String, Bytes) - Method in class org.apache.kafka.common.serialization.BytesSerializer
 
serialize(String, Double) - Method in class org.apache.kafka.common.serialization.DoubleSerializer
 
serialize(String, Headers, T) - Method in interface org.apache.kafka.common.serialization.ExtendedSerializer
Deprecated.
Convert data into a byte array.
serialize(String, Headers, T) - Method in class org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper
Deprecated.
 
serialize(String, T) - Method in class org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper
Deprecated.
 
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, T) - Method in interface org.apache.kafka.common.serialization.Serializer
Convert data into a byte array.
serialize(String, Headers, T) - Method in interface org.apache.kafka.common.serialization.Serializer
Convert data into a byte array.
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, UUID) - Method in class org.apache.kafka.common.serialization.UUIDSerializer
 
serialize(String, Void) - Method in class org.apache.kafka.common.serialization.VoidSerializer
 
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