Interface KafkaLogging
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
KafkaLogging_$logger
@MessageLogger(projectCode="SRMSG",
length=5)
public interface KafkaLogging
extends org.jboss.logging.BasicLogger
Logging for Kafka Connector
Assigned ID range is 18200-18299
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledgementFromRevokedTopicPartition(long offset, org.apache.kafka.common.TopicPartition topicPartition, String groupId, Collection<org.apache.kafka.common.TopicPartition> assignments) voidvoidcheckpointFailedPersistingState(String consumerId, String state, Throwable cause) voidcheckpointFailedPersistingStateRetryable(String consumerId, String state, Throwable cause) voidcheckpointPartitionsAssigned(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, String state) voidcheckpointPartitionsRevoked(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, String state) voidcheckpointPersistedState(String consumerId, String state) voidcheckpointStateTypeNotFound(String channel, String fqcn) voidcommitStrategyForChannel(String strategy, String channel) voidcommitted(Map<org.apache.kafka.common.TopicPartition, org.apache.kafka.clients.consumer.OffsetAndMetadata> offsets) voidconfigServers(String serverConfig, String servers) voidconfiguredPattern(String channel, String pattern) voidconfiguredTopics(String channel, Set<String> topics) voidconnectedToKafka(String id, String bootstrapServers, String topic) voidvoiddeadLetterConfig(String deadQueueTopic, String keySerializer, String valueSerializer) voiddelayedRetryNack(String channel, String topic) voiddelayedRetryNoDlq(String channel) voiddelayedRetryTimeout(String channel, long timeout, String record) voiddelayedRetryTopic(String channel, Collection<String> retryTopics, int maxRetries, long timeout, String deadLetterTopic) voiddeprecatedConfig(String deprecated, String replace) voiddeserializationFailureHandlerFailure(String instance, Throwable t) voiddisableAutoCommit(String channel) voiddisableCheckpointCommitStrategyHealthCheck(String consumerId) voidvoidvoidvoidexecutedConsumerAssignedRebalanceListener(String consumerGroup) voidexecutedConsumerRevokedRebalanceListener(String consumerGroup) voidexecutingConsumerRevokedRebalanceListener(String consumerGroup) voidfailedCheckpointPartitionsAssigned(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, Throwable cause) voidfailedToCommit(Map<org.apache.kafka.common.TopicPartition, org.apache.kafka.clients.consumer.OffsetAndMetadata> offsets, Throwable failure) voidfailedToCommitAsync(org.apache.kafka.common.TopicPartition topicPartition, long offset) voidfailureReported(Set<String> topics, Throwable t) voidfailureReportedDuringRebalance(Set<String> topics, Throwable t) voidinitializeStoreAtPosition(org.apache.kafka.common.TopicPartition topicPartition, long position) voidinterceptorCloseError(String channel, Throwable cause) voidinterceptorOnAcknowledgeError(String channel, Throwable cause) voidinterceptorOnSendError(String channel, Throwable cause) voidinvalidValueSerializerForStructuredCloudEvent(String serializer) voidvoidvoidloadingConsumerRebalanceListenerFromConfiguredName(String configuredName) voidloadingConsumerRebalanceListenerFromGroupId(String consumerGroup) voidmessageNackedDeadLetter(String channel, String topic) voidmessageNackedFailStop(String channel) voidvoidmessageNackedIgnore(String channel, String reason) voidmessageStillUnprocessedAfterTimeout(long unprocessed) voidnackingMessage(org.eclipse.microprofile.reactive.messaging.Message<?> message, String topic, Throwable t) voidvoidpartitionRevokedCollectingRecordsToCommit(org.apache.kafka.common.TopicPartition partition, long commit) voidvoidpausingChannel(String channel, String clientId, int queueSize, int maxQueueSize) voidreceivedOutdatedOffset(org.apache.kafka.common.TopicPartition topicPartition, long offset, long lastCommitted) voidreEnablingConsumerForGroup(String consumerGroup) voidremovingPartitionFromStore(org.apache.kafka.common.TopicPartition tp, Collection<org.apache.kafka.common.TopicPartition> assignments) voidresumingChannel(String channel, String clientId, int queueSize, int halfMaxQueueSize) voidsendingMessageToTopic(org.eclipse.microprofile.reactive.messaging.Message<?> message, String topic) voidserializationFailureHandlerFailure(String instance, Throwable t) voidsetCheckpointCommitStrategyUnsyncedStateMaxAge(String consumerId, int unsyncedStateMaxAge) voidvoidsetThrottledCommitStrategyReceivedRecordMaxAge(String group, long unprocessedRecordMaxAge) voidsettingCommitInterval(String group, long commitInterval) voidsuccessfullyToTopic(org.eclipse.microprofile.reactive.messaging.Message<?> message, String topic, int partition, long offset) voidtransactionAborted(String producerId, String channel) voidunableToDeserializeMessage(String topic, Throwable t) voidvoidunableToExecuteConsumerRevokedRebalanceListener(String consumerGroup, Throwable t) voidunableToInitializeProducer(String channel, Throwable t) voidunableToReadRecord(Set<String> topics, Throwable t) voidvoidunableToSerializeMessage(String topic, Throwable t) voidunableToWrite(String channel, String topic, Throwable t) voidunableToWrite(String channel, Throwable t) voidwaitingForAckForTooLong(long offset, org.apache.kafka.common.TopicPartition topicPartition, long delay, long configInMs, long queueSize, long lastCommittedOffset) voidwaitingForMessageProcessing(long p) Methods inherited from interface org.jboss.logging.BasicLogger
debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
-
Field Details
-
log
-
-
Method Details
-
deadLetterConfig
-
messageNackedDeadLetter
-
messageNackedFailStop
@LogMessage(level=ERROR) @Message(id=18203, value="A message sent to channel `%s` has been nacked, fail-stop") void messageNackedFailStop(String channel) -
messageNackedIgnore
-
messageNackedFullIgnored
@LogMessage(level=DEBUG) @Message(id=18205, value="The full ignored failure is") void messageNackedFullIgnored(@Cause Throwable t) -
unableToWrite
-
unableToWrite
-
unableToDispatch
@LogMessage(level=ERROR) @Message(id=18207, value="Unable to dispatch message to Kafka") void unableToDispatch(@Cause Throwable t) -
sendingMessageToTopic
@LogMessage(level=DEBUG) @Message(id=18209, value="Sending message %s to Kafka topic \'%s\'") void sendingMessageToTopic(org.eclipse.microprofile.reactive.messaging.Message<?> message, String topic) -
unableToSendRecord
@LogMessage(level=ERROR) @Message(id=18210, value="Unable to send a record to Kafka ") void unableToSendRecord(@Cause Throwable t) -
successfullyToTopic
@LogMessage(level=DEBUG) @Message(id=18211, value="Message %s sent successfully to Kafka topic-partition \'%s-%d\', with offset %d") void successfullyToTopic(org.eclipse.microprofile.reactive.messaging.Message<?> message, String topic, int partition, long offset) -
nackingMessage
-
configServers
-
keyDeserializerOmitted
@LogMessage(level=INFO) @Message(id=18214, value="Key deserializer omitted, using String as default") void keyDeserializerOmitted() -
errorWhileClosingWriteStream
@LogMessage(level=DEBUG) @Message(id=18215, value="An error has been caught while closing the Kafka Write Stream") void errorWhileClosingWriteStream(@Cause Throwable t) -
noGroupId
@LogMessage(level=WARN) @Message(id=18216, value="No `group.id` set in the configuration, generate a random id: %s") void noGroupId(String randomId) -
unableToReadRecord
-
exceptionOnClose
@LogMessage(level=DEBUG) @Message(id=18218, value="An exception has been caught while closing the Kafka consumer") void exceptionOnClose(@Cause Throwable t) -
loadingConsumerRebalanceListenerFromConfiguredName
@LogMessage(level=INFO) @Message(id=18219, value="Loading KafkaConsumerRebalanceListener from configured name \'%s\'") void loadingConsumerRebalanceListenerFromConfiguredName(String configuredName) -
loadingConsumerRebalanceListenerFromGroupId
@LogMessage(level=INFO) @Message(id=18220, value="Loading KafkaConsumerRebalanceListener from group id \'%s\'") void loadingConsumerRebalanceListenerFromGroupId(String consumerGroup) -
unableToExecuteConsumerRevokedRebalanceListener
-
executingConsumerRevokedRebalanceListener
@LogMessage(level=INFO) @Message(id=18224, value="Executing consumer revoked re-balance listener for group \'%s\'") void executingConsumerRevokedRebalanceListener(String consumerGroup) -
executedConsumerAssignedRebalanceListener
@LogMessage(level=INFO) @Message(id=18225, value="Executed consumer assigned re-balance listener for group \'%s\'") void executedConsumerAssignedRebalanceListener(String consumerGroup) -
executedConsumerRevokedRebalanceListener
@LogMessage(level=INFO) @Message(id=18226, value="Executed consumer revoked re-balance listener for group \'%s\'") void executedConsumerRevokedRebalanceListener(String consumerGroup) -
reEnablingConsumerForGroup
@LogMessage(level=WARN) @Message(id=18227, value="Re-enabling consumer for group \'%s\'. This consumer was paused because of a re-balance failure.") void reEnablingConsumerForGroup(String consumerGroup) -
failureReported
-
failureReportedDuringRebalance
-
configuredTopics
-
configuredPattern
-
waitingForAckForTooLong
@LogMessage(level=WARN) @Message(id=18231, value="The record %d from topic-partition \'%s\' has waited for %s seconds to be acknowledged. This waiting time is greater than the configured threshold (%d ms). At the moment %d messages from this partition are awaiting acknowledgement. The last committed offset for this partition was %d. This error is due to a potential issue in the application which does not acknowledged the records in a timely fashion. The connector cannot commit as a record processing has not completed.") void waitingForAckForTooLong(long offset, org.apache.kafka.common.TopicPartition topicPartition, long delay, long configInMs, long queueSize, long lastCommittedOffset) -
settingCommitInterval
@LogMessage(level=DEBUG) @Message(id=18232, value="Will commit for group \'%s\' every %d milliseconds.") void settingCommitInterval(String group, long commitInterval) -
invalidValueSerializerForStructuredCloudEvent
@LogMessage(level=ERROR) @Message(id=18233, value="Invalid value serializer to write a structured Cloud Event. Found %s, expected the org.apache.kafka.common.serialization.StringSerializer") void invalidValueSerializerForStructuredCloudEvent(String serializer) -
disableAutoCommit
@LogMessage(level=DEBUG) @Message(id=18234, value="Auto-commit disabled for channel %s") void disableAutoCommit(String channel) -
disableThrottledCommitStrategyHealthCheck
@LogMessage(level=WARN) @Message(id=18235, value="Will not health check throttled commit strategy for group \'%s\'.") void disableThrottledCommitStrategyHealthCheck(String group) -
setThrottledCommitStrategyReceivedRecordMaxAge
@LogMessage(level=DEBUG) @Message(id=18236, value="Will mark throttled commit strategy for group \'%s\' as unhealthy if records go more than %d milliseconds without being processed.") void setThrottledCommitStrategyReceivedRecordMaxAge(String group, long unprocessedRecordMaxAge) -
setKafkaProducerClientId
@LogMessage(level=DEBUG) @Message(id=18237, value="Setting client.id for Kafka producer to %s") void setKafkaProducerClientId(String name) -
acknowledgementFromRevokedTopicPartition
@LogMessage(level=DEBUG) @Message(id=18239, value="Received acknowledgement for record %d on \'%s\' (consumer group: \'%s\'). Ignoring it because the partition is not assigned to the consume anymore. Record will likely be processed again. Current assignments are %s.") void acknowledgementFromRevokedTopicPartition(long offset, org.apache.kafka.common.TopicPartition topicPartition, String groupId, Collection<org.apache.kafka.common.TopicPartition> assignments) -
commitStrategyForChannel
-
deserializationFailureHandlerFailure
-
pauseAllPartitionOnTermination
@LogMessage(level=DEBUG) @Message(id=18243, value="Shutting down - Pausing all topic-partitions") void pauseAllPartitionOnTermination() -
waitingForMessageProcessing
@LogMessage(level=DEBUG) @Message(id=18244, value="Shutting down - Waiting for message processing to complete, %d messages still in processing") void waitingForMessageProcessing(long p) -
messageStillUnprocessedAfterTimeout
@LogMessage(level=WARN) @Message(id=18245, value="There are still %d unprocessed messages after the closing timeout") void messageStillUnprocessedAfterTimeout(long unprocessed) -
pausingChannel
-
resumingChannel
-
keySerializerOmitted
@LogMessage(level=DEBUG) @Message(id=18248, value="Key serializer omitted, using String as default") void keySerializerOmitted() -
unableToDeserializeMessage
-
deprecatedConfig
-
committed
@LogMessage(level=DEBUG) @Message(id=18251, value="Committed %s") void committed(Map<org.apache.kafka.common.TopicPartition, org.apache.kafka.clients.consumer.OffsetAndMetadata> offsets) -
failedToCommit
-
removingPartitionFromStore
@LogMessage(level=DEBUG) @Message(id=18253, value="Removing topic-partition \'%s\' from the store - the partition is not assigned to the consumer anymore. Current assignments are: %s") void removingPartitionFromStore(org.apache.kafka.common.TopicPartition tp, Collection<org.apache.kafka.common.TopicPartition> assignments) -
partitionRevokedCollectingRecordsToCommit
@LogMessage(level=DEBUG) @Message(id=18254, value="Topic-partition \'%s\' has been revoked - going to commit offset %d") void partitionRevokedCollectingRecordsToCommit(org.apache.kafka.common.TopicPartition partition, long commit) -
receivedOutdatedOffset
@LogMessage(level=DEBUG) @Message(id=18255, value="Received a record from topic-partition \'%s\' at offset %d, while the last committed offset is %d - Ignoring record") void receivedOutdatedOffset(org.apache.kafka.common.TopicPartition topicPartition, long offset, long lastCommitted) -
initializeStoreAtPosition
@LogMessage(level=INFO) @Message(id=18256, value="Initialize record store for topic-partition \'%s\' at position %d.") void initializeStoreAtPosition(org.apache.kafka.common.TopicPartition topicPartition, long position) -
connectedToKafka
-
connectedToKafka
-
failedToCommitAsync
@LogMessage(level=WARN) @Message(id=18259, value="Kafka latest commit strategy failed to commit record from topic-partition \'%s\' at offset %d") void failedToCommitAsync(org.apache.kafka.common.TopicPartition topicPartition, long offset) -
unableToSerializeMessage
-
unableToInitializeProducer
-
transactionAborted
-
serializationFailureHandlerFailure
-
checkpointDefaultStateStore
@LogMessage(level=WARN) @Message(id=18264, value="No `checkpoint.state-store` given to use with checkpoint commit strategy. `file` will be used.") void checkpointDefaultStateStore() -
disableCheckpointCommitStrategyHealthCheck
@LogMessage(level=WARN) @Message(id=18265, value="Will not health check checkpoint commit strategy for consumer \'%s\'.") void disableCheckpointCommitStrategyHealthCheck(String consumerId) -
setCheckpointCommitStrategyUnsyncedStateMaxAge
@LogMessage(level=DEBUG) @Message(id=18266, value="Will mark checkpoint commit strategy for consumer \'%s\' as unhealthy if processing state go more than %d milliseconds without being persisted.") void setCheckpointCommitStrategyUnsyncedStateMaxAge(String consumerId, int unsyncedStateMaxAge) -
checkpointPartitionsAssigned
@LogMessage(level=DEBUG) @Message(id=18267, value="Partitions assigned to client %s : %s with initial state %s") void checkpointPartitionsAssigned(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, String state) -
failedCheckpointPartitionsAssigned
@LogMessage(level=ERROR) @Message(id=18268, value="Failed fetching state on partitions assigned to client %s : %s") void failedCheckpointPartitionsAssigned(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, @Cause Throwable cause) -
checkpointPartitionsRevoked
@LogMessage(level=DEBUG) @Message(id=18269, value="Partitions revoked from client %s: %s with state to persist %s") void checkpointPartitionsRevoked(String consumerId, Collection<org.apache.kafka.common.TopicPartition> assignments, String state) -
checkpointPersistedState
-
checkpointFailedPersistingState
-
checkpointFailedPersistingStateRetryable
-
checkpointStateTypeNotFound
-
interceptorOnSendError
-
interceptorOnAcknowledgeError
-
interceptorCloseError
-
delayedRetryTopic
@LogMessage(level=INFO) @Message(id=18277, value="Delayed retry topics configured for channel `%s` with topics `%s`, max retries, `%d`, timeout `%d`ms, dlq topic `%s`") void delayedRetryTopic(String channel, Collection<String> retryTopics, int maxRetries, long timeout, String deadLetterTopic) -
delayedRetryNack
-
delayedRetryTimeout
-
delayedRetryNoDlq
@LogMessage(level=WARN) @Message(id=18280, value="A message sent to channel `%s` has been nacked and won\'t be retried again. Configure `dead-letter-queue.topic` for sending the record to a dead letter topic") void delayedRetryNoDlq(String channel)
-