Index
All Classes and Interfaces|All Packages
A
- acknowledge(String, String, Map<TopicIdPartition, List<ShareAcknowledgementBatch>>) - Method in class kafka.server.share.SharePartitionManager
-
The acknowledge method is used to acknowledge the messages that have been fetched.
- acknowledge(String, List<ShareAcknowledgementBatch>) - Method in class kafka.server.share.SharePartition
-
Acknowledge the fetched records for the share partition.
- acknowledgeSessionUpdate(String, ShareRequestMetadata) - Method in class kafka.server.share.SharePartitionManager
-
The acknowledgeSessionUpdate method is used to update the request epoch and lastUsed time of the share session.
- acquire(String, int, int, long, FetchPartitionData, FetchIsolation) - Method in class kafka.server.share.SharePartition
-
Acquire the fetched records for the share partition.
- ALL_REPLICAS - Static variable in class kafka.server.ReplicationQuotaManager
- alterLogDirs() - Method in class kafka.server.QuotaFactory.QuotaManagers
- applyChangesForResource(boolean, boolean, IncrementalAlterConfigsRequestData.AlterConfigsResource) - Method in class kafka.server.logger.RuntimeLoggerManager
B
- build() - Method in class kafka.server.builders.KafkaApisBuilder
- build() - Method in class kafka.server.builders.LogManagerBuilder
- build() - Method in class kafka.server.builders.ReplicaManagerBuilder
- buildNetworkClient(String, KafkaConfig, Metrics, Time, LogContext) - Static method in class kafka.server.NetworkUtils
C
- cachedSharePartitionKeys() - Method in class kafka.server.share.SharePartitionCache
-
Returns the set of all share partition keys in the cache.
- clientQuotaCallbackPlugin() - Method in class kafka.server.QuotaFactory.QuotaManagers
- clientQuotaMetricName(Map<String, String>) - Method in class kafka.server.ClientRequestQuotaManager
- ClientRequestQuotaManager - Class in kafka.server
- ClientRequestQuotaManager(ClientQuotaManagerConfig, Metrics, Time, String, Optional<Plugin<ClientQuotaCallback>>) - Constructor for class kafka.server.ClientRequestQuotaManager
- close() - Method in class kafka.server.share.SharePartitionManager
- computeIfAbsent(SharePartitionKey, Function<SharePartitionKey, SharePartition>) - Method in class kafka.server.share.SharePartitionCache
-
Computes the value for the given key if it is not already present in the cache.
- containsTopic(String) - Method in class kafka.server.share.ShareCoordinatorMetadataCacheHelperImpl
- controllerMutation() - Method in class kafka.server.QuotaFactory.QuotaManagers
- createIdleShareFetchTimerTask(long) - Method in class kafka.server.share.SharePartitionManager
-
The method creates a timer task to delay the share fetch request for maxWaitMs duration.
D
- DelayedShareFetch - Class in kafka.server.share
-
A delayed share fetch operation has been introduced in case there is a share fetch request which cannot be completed instantaneously.
- DelayedShareFetch(ShareFetch, ReplicaManager, BiConsumer<SharePartitionKey, Throwable>, LinkedHashMap<TopicIdPartition, SharePartition>, ShareGroupMetrics, Time, long) - Constructor for class kafka.server.share.DelayedShareFetch
-
This function constructs an instance of delayed share fetch operation for completing share fetch requests instantaneously or with delay.
- DescribeTopicPartitionsRequestHandler - Class in kafka.server.handlers
- DescribeTopicPartitionsRequestHandler(MetadataCache, AuthHelper, KafkaConfig) - Constructor for class kafka.server.handlers.DescribeTopicPartitionsRequestHandler
E
- equals(Object) - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Indicates whether some other object is "equal to" this one.
- exemptSensor() - Method in class kafka.server.ClientRequestQuotaManager
F
- fetch() - Method in class kafka.server.QuotaFactory.QuotaManagers
- fetchMessages(String, String, FetchParams, int, int, int, List<TopicIdPartition>) - Method in class kafka.server.share.SharePartitionManager
-
The fetch messages method is used to fetch messages from the log for the specified topic-partitions.
- fetchOffsetMetadataMap() - Method in class kafka.server.share.PendingRemoteFetches
- follower() - Method in class kafka.server.QuotaFactory.QuotaManagers
G
- get(SharePartitionKey) - Method in class kafka.server.share.SharePartitionCache
-
Returns the share partition for the given key.
- getClusterNodes() - Method in class kafka.server.share.ShareCoordinatorMetadataCacheHelperImpl
- getConfiguration() - Method in class kafka.docker.Log4jConfiguration
- getShareCoordinator(SharePartitionKey, String) - Method in class kafka.server.share.ShareCoordinatorMetadataCacheHelperImpl
H
- handleDescribeTopicPartitionsRequest(RequestChannel.Request) - Method in class kafka.server.handlers.DescribeTopicPartitionsRequestHandler
- hashCode() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns a hash code value for this object.
I
- instantiate(KafkaConfig, Metrics, Time, String, String) - Static method in class kafka.server.QuotaFactory
- invokeCallbackOnCompletion(BiConsumer<Void, Throwable>) - Method in class kafka.server.share.PendingRemoteFetches
- isDone() - Method in class kafka.server.share.PendingRemoteFetches
- isQuotaExceeded() - Method in interface kafka.server.ReplicaQuota
- isQuotaExceeded() - Method in class kafka.server.ReplicationQuotaManager
-
Check if the quota is currently exceeded
- isThrottled(TopicPartition) - Method in interface kafka.server.ReplicaQuota
- isThrottled(TopicPartition) - Method in class kafka.server.ReplicationQuotaManager
-
Is the passed partition throttled by this ReplicationQuotaManager
K
- kafka.docker - package kafka.docker
- kafka.server - package kafka.server
- kafka.server.builders - package kafka.server.builders
- kafka.server.handlers - package kafka.server.handlers
- kafka.server.logger - package kafka.server.logger
- kafka.server.share - package kafka.server.share
- KafkaApisBuilder - Class in kafka.server.builders
- KafkaApisBuilder() - Constructor for class kafka.server.builders.KafkaApisBuilder
L
- leader() - Method in class kafka.server.QuotaFactory.QuotaManagers
- Log4jConfiguration - Class in kafka.docker
- Log4jConfiguration() - Constructor for class kafka.docker.Log4jConfiguration
- LogManagerBuilder - Class in kafka.server.builders
- LogManagerBuilder() - Constructor for class kafka.server.builders.LogManagerBuilder
- logReadResult() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns the value of the
logReadResultrecord component.
M
- markThrottled(String) - Method in class kafka.server.ReplicationQuotaManager
-
Mark all replicas for this topic as throttled
- markThrottled(String, List<Integer>) - Method in class kafka.server.ReplicationQuotaManager
-
Update the set of throttled partitions for this QuotaManager.
- maybeAcquireFetchLock(Uuid) - Method in class kafka.server.share.SharePartition
-
Prior to fetching records from the leader, the fetch lock is acquired to ensure that the same share partition is not fetched concurrently by multiple clients.
- maybeInitialize() - Method in class kafka.server.share.SharePartition
-
May initialize the share partition by reading the state from the persister.
- maybeRecordAndGetThrottleTimeMs(RequestChannel.Request, long) - Method in class kafka.server.ClientRequestQuotaManager
-
Records that a user/clientId changed request processing time being throttled.
- maybeRecordExempt(RequestChannel.Request) - Method in class kafka.server.ClientRequestQuotaManager
- MetadataVersionConfigValidator - Class in kafka.server
- MetadataVersionConfigValidator(KafkaConfig, FaultHandler) - Constructor for class kafka.server.MetadataVersionConfigValidator
N
- name() - Method in class kafka.server.MetadataVersionConfigValidator
- NetworkUtils - Class in kafka.server
- NetworkUtils() - Constructor for class kafka.server.NetworkUtils
- newContext(String, List<TopicIdPartition>, List<TopicIdPartition>, ShareRequestMetadata, Boolean, String) - Method in class kafka.server.share.SharePartitionManager
-
The newContext method is used to create a new share fetch context for every share fetch request.
- nextFetchOffset() - Method in class kafka.server.share.SharePartition
-
The next fetch offset is used to determine the next offset that should be fetched from the leader.
O
- onComplete() - Method in class kafka.server.share.DelayedShareFetch
-
Complete the share fetch operation by fetching records for all partitions in the share fetch request irrespective of whether they have any acquired records.
- onExpiration() - Method in class kafka.server.share.DelayedShareFetch
- onMetadataUpdate(MetadataDelta, MetadataImage, LoaderManifest) - Method in class kafka.server.MetadataVersionConfigValidator
- onShareVersionToggle(ShareVersion, boolean) - Method in class kafka.server.share.SharePartitionManager
-
The handler for share version feature metadata changes.
P
- PendingRemoteFetches - Class in kafka.server.share
-
This class is used to store the remote storage fetch information for topic partitions in a share fetch request.
- PendingRemoteFetches.RemoteFetch - Record Class in kafka.server.share
- produce() - Method in class kafka.server.QuotaFactory.QuotaManagers
Q
- QuotaFactory - Class in kafka.server
- QuotaFactory() - Constructor for class kafka.server.QuotaFactory
- QuotaFactory.QuotaManagers - Class in kafka.server
- QuotaManagers(ClientQuotaManager, ClientQuotaManager, ClientRequestQuotaManager, ControllerMutationQuotaManager, ReplicationQuotaManager, ReplicationQuotaManager, ReplicationQuotaManager, Optional<Plugin<ClientQuotaCallback>>) - Constructor for class kafka.server.QuotaFactory.QuotaManagers
R
- record(long) - Method in interface kafka.server.ReplicaQuota
- record(long) - Method in class kafka.server.ReplicationQuotaManager
-
Add the passed value to the throttled rate.
- recordLockDurationMsOrDefault(GroupConfigManager, String, int) - Static method in class kafka.server.share.ShareFetchUtils
-
The method is used to get the record lock duration for the group.
- releaseAcquiredRecords(String) - Method in class kafka.server.share.SharePartition
-
Release the acquired records for the share partition.
- releaseSession(String, String) - Method in class kafka.server.share.SharePartitionManager
-
The release session method is used to release the session for the memberId of respective group.
- RemoteFetch(TopicIdPartition, LogReadResult, Future<Void>, CompletableFuture<RemoteLogReadResult>, RemoteStorageFetchInfo) - Constructor for record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Creates an instance of a
RemoteFetchrecord class. - remoteFetches() - Method in class kafka.server.share.PendingRemoteFetches
- remoteFetchInfo() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns the value of the
remoteFetchInforecord component. - remoteFetchResult() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns the value of the
remoteFetchResultrecord component. - remoteFetchTask() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns the value of the
remoteFetchTaskrecord component. - remove(SharePartitionKey) - Method in class kafka.server.share.SharePartitionCache
-
Removes the share partition from the cache.
- removeThrottle(String) - Method in class kafka.server.ReplicationQuotaManager
- ReplicaManagerBuilder - Class in kafka.server.builders
- ReplicaManagerBuilder() - Constructor for class kafka.server.builders.ReplicaManagerBuilder
- ReplicaQuota - Interface in kafka.server
- ReplicationQuotaManager - Class in kafka.server
- ReplicationQuotaManager(ReplicationQuotaManagerConfig, Metrics, QuotaType, Time) - Constructor for class kafka.server.ReplicationQuotaManager
- request() - Method in class kafka.server.QuotaFactory.QuotaManagers
- RuntimeLoggerManager - Class in kafka.server.logger
-
Manages runtimes changes to slf4j settings.
- RuntimeLoggerManager(int, Logger) - Constructor for class kafka.server.logger.RuntimeLoggerManager
S
- setAlterPartitionManager(AlterPartitionManager) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setApiVersionManager(ApiVersionManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setAuthorizerPlugin(Optional<Plugin<Authorizer>>) - Method in class kafka.server.builders.KafkaApisBuilder
- setAutoTopicCreationManager(AutoTopicCreationManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setBrokerId(int) - Method in class kafka.server.builders.KafkaApisBuilder
- setBrokerTopicStats(BrokerTopicStats) - Method in class kafka.server.builders.KafkaApisBuilder
- setBrokerTopicStats(BrokerTopicStats) - Method in class kafka.server.builders.LogManagerBuilder
- setBrokerTopicStats(BrokerTopicStats) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setCleanerConfig(CleanerConfig) - Method in class kafka.server.builders.LogManagerBuilder
- setClientMetricsManager(ClientMetricsManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setClusterId(String) - Method in class kafka.server.builders.KafkaApisBuilder
- setConfig(KafkaConfig) - Method in class kafka.server.builders.KafkaApisBuilder
- setConfig(KafkaConfig) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setConfigRepository(ConfigRepository) - Method in class kafka.server.builders.KafkaApisBuilder
- setConfigRepository(ConfigRepository) - Method in class kafka.server.builders.LogManagerBuilder
- setConfiguration(Configuration) - Method in class kafka.docker.Log4jConfiguration
- setFetchManager(FetchManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setFlushCheckMs(long) - Method in class kafka.server.builders.LogManagerBuilder
- setFlushRecoveryOffsetCheckpointMs(long) - Method in class kafka.server.builders.LogManagerBuilder
- setFlushStartOffsetCheckpointMs(long) - Method in class kafka.server.builders.LogManagerBuilder
- setForwardingManager(ForwardingManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setGroupConfigManager(GroupConfigManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setGroupCoordinator(GroupCoordinator) - Method in class kafka.server.builders.KafkaApisBuilder
- setInitialDefaultConfig(LogConfig) - Method in class kafka.server.builders.LogManagerBuilder
- setInitialOfflineDirs(List<File>) - Method in class kafka.server.builders.LogManagerBuilder
- setInitialTaskDelayMs(long) - Method in class kafka.server.builders.LogManagerBuilder
- setLogDirFailureChannel(LogDirFailureChannel) - Method in class kafka.server.builders.LogManagerBuilder
- setLogDirFailureChannel(LogDirFailureChannel) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setLogDirs(List<File>) - Method in class kafka.server.builders.LogManagerBuilder
- setLogManager(LogManager) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setMaxTransactionTimeoutMs(int) - Method in class kafka.server.builders.LogManagerBuilder
- setMetadataCache(MetadataCache) - Method in class kafka.server.builders.KafkaApisBuilder
- setMetadataCache(MetadataCache) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setMetrics(Metrics) - Method in class kafka.server.builders.KafkaApisBuilder
- setMetrics(Metrics) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setProducerStateManagerConfig(int, boolean) - Method in class kafka.server.builders.LogManagerBuilder
- setQuotaManagers(QuotaFactory.QuotaManagers) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setQuotas(QuotaFactory.QuotaManagers) - Method in class kafka.server.builders.KafkaApisBuilder
- setRecoveryThreadsPerDataDir(int) - Method in class kafka.server.builders.LogManagerBuilder
- setRemoteStorageSystemEnable(boolean) - Method in class kafka.server.builders.LogManagerBuilder
- setReplicaManager(ReplicaManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setRequestChannel(RequestChannel) - Method in class kafka.server.builders.KafkaApisBuilder
- setRetentionCheckMs(long) - Method in class kafka.server.builders.LogManagerBuilder
- setScheduler(Scheduler) - Method in class kafka.server.builders.LogManagerBuilder
- setScheduler(Scheduler) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setShareCoordinator(ShareCoordinator) - Method in class kafka.server.builders.KafkaApisBuilder
- setSharePartitionManager(SharePartitionManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setTime(Time) - Method in class kafka.server.builders.KafkaApisBuilder
- setTime(Time) - Method in class kafka.server.builders.LogManagerBuilder
- setTime(Time) - Method in class kafka.server.builders.ReplicaManagerBuilder
- setTokenManager(DelegationTokenManager) - Method in class kafka.server.builders.KafkaApisBuilder
- setTxnCoordinator(TransactionCoordinator) - Method in class kafka.server.builders.KafkaApisBuilder
- ShareCoordinatorMetadataCacheHelperImpl - Class in kafka.server.share
- ShareCoordinatorMetadataCacheHelperImpl(MetadataCache, Function<SharePartitionKey, Integer>, ListenerName) - Constructor for class kafka.server.share.ShareCoordinatorMetadataCacheHelperImpl
- ShareFetchUtils - Class in kafka.server.share
-
Utility class for post-processing of share fetch operations.
- ShareFetchUtils() - Constructor for class kafka.server.share.ShareFetchUtils
- SharePartition - Class in kafka.server.share
-
The SharePartition is used to track the state of a partition that is shared between multiple consumers.
- SharePartitionCache - Class in kafka.server.share
-
The SharePartitionCache is used to cache the SharePartition objects.
- SharePartitionManager - Class in kafka.server.share
-
The SharePartitionManager is responsible for managing the SharePartitions and ShareSessions.
- SharePartitionManager(ReplicaManager, Time, ShareSessionCache, int, int, int, long, Persister, GroupConfigManager, BrokerTopicStats) - Constructor for class kafka.server.share.SharePartitionManager
- shutdown() - Method in class kafka.server.QuotaFactory.QuotaManagers
T
- throttleTime(QuotaViolationException, long) - Method in class kafka.server.ClientRequestQuotaManager
- TierStateMachine - Class in kafka.server
-
This class defines the APIs and implementation needed to handle any state transitions related to tiering When started, the tier state machine will fetch the local log start offset of the leader and then build the follower's remote log aux state until the leader's local log start offset.
- TierStateMachine(LeaderEndPoint, ReplicaManager, boolean) - Constructor for class kafka.server.TierStateMachine
- topicIdPartition() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns the value of the
topicIdPartitionrecord component. - topicIdPartitionsForGroup(String) - Method in class kafka.server.share.SharePartitionCache
-
Returns the set of topic-partitions for the given group id.
- toString() - Method in record class kafka.server.share.PendingRemoteFetches.RemoteFetch
-
Returns a string representation of this record class.
- toString() - Method in class kafka.server.share.PendingRemoteFetches
- tryComplete() - Method in class kafka.server.share.DelayedShareFetch
-
Try to complete the fetch operation if we can acquire records for any partition in the share fetch request.
U
- UNBOUNDED_QUOTA - Static variable in class kafka.server.QuotaFactory
- updateQuota(Quota) - Method in class kafka.server.ReplicationQuotaManager
-
Update the quota
- upperBound() - Method in class kafka.server.ReplicationQuotaManager
All Classes and Interfaces|All Packages