Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.88 KB

kafka-TransactionMarkerChannelManager.adoc

File metadata and controls

41 lines (29 loc) · 1.88 KB

TransactionMarkerChannelManager

TransactionMarkerChannelManager is a InterBrokerSendThread that…​FIXME

TransactionMarkerChannelManager uses the name TxnMarkerSenderThread-[brokerId].

TransactionMarkerChannelManager uses [Transaction Marker Channel Manager [brokerId]] as the logging prefix (aka logIdent).

TransactionMarkerChannelManager is created (using apply factory method) exclusively when TransactionCoordinator is created (for a KafkaServer).

Creating TransactionMarkerChannelManager Instance

TransactionMarkerChannelManager takes the following to be created:

TransactionMarkerChannelManager initializes the internal registries and counters.

Creating TransactionMarkerChannelManager — apply Factory Method

apply(
  config: KafkaConfig,
  metrics: Metrics,
  metadataCache: MetadataCache,
  txnStateManager: TransactionStateManager,
  txnMarkerPurgatory: DelayedOperationPurgatory[DelayedTxnMarker],
  time: Time,
  logContext: LogContext): TransactionMarkerChannelManager

apply…​FIXME

Note
apply is used exclusively when TransactionCoordinator is created (when KafkaServer is requested to start up).