Interface KafkaExceptions
- All Known Implementing Classes:
KafkaExceptions_$bundle
@MessageBundle(projectCode="SRMSG",
length=5)
public interface KafkaExceptions
Exceptions for Kafka Connector
Assigned ID range is 18000-18099
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncannotConvertProperty
(String propertyName, Class<?> type, Class<?> targetType) exactlyOnceProcessingNotSupported
(String channel) illegalArgumentInvalidCommitStrategy
(String strategy) illegalArgumentInvalidFailureStrategy
(String strategy) illegalArgumentUnknownCommitStrategy
(String strategy) illegalArgumentUnknownFailureStrategy
(String strategy) missingProperty
(String propertyName) missingValueDeserializer
(String channel, String channelAgain) missingValueSerializer
(String channel, String channelAgain) noKafkaMetadataFound
(org.eclipse.microprofile.reactive.messaging.Message<?> message) transactionInProgress
(String channel) unableToCreateInstance
(String clazz, Throwable cause) unableToFindConsumerForChannel
(String channel) jakarta.enterprise.inject.UnsatisfiedResolutionException
unableToFindDeserializationFailureHandler
(String name, String channel) jakarta.enterprise.inject.AmbiguousResolutionException
unableToFindDeserializationFailureHandler
(String name, String channel, int count) jakarta.enterprise.inject.UnsatisfiedResolutionException
unableToFindRebalanceListener
(String name, String channel) jakarta.enterprise.inject.AmbiguousResolutionException
unableToFindRebalanceListener
(String name, String channel, int count) jakarta.enterprise.inject.UnsatisfiedResolutionException
unableToFindSerializationFailureHandler
(String name, String channel) jakarta.enterprise.inject.AmbiguousResolutionException
unableToFindSerializationFailureHandler
(String name, String channel, int count)
-
Field Details
-
ex
-
-
Method Details
-
illegalArgumentNoMetadata
@Message(id=18000, value="`message` does not contain metadata of class %s") IllegalArgumentException illegalArgumentNoMetadata(Class c) -
illegalArgumentUnknownFailureStrategy
@Message(id=18001, value="Unknown failure strategy: %s") IllegalArgumentException illegalArgumentUnknownFailureStrategy(String strategy) -
illegalStateConsumeWithoutBackPressure
@Message(id=18002, value="Expecting downstream to consume without back-pressure") IllegalStateException illegalStateConsumeWithoutBackPressure() -
illegalStateOnlyOneSubscriber
@Message(id=18003, value="Only one subscriber allowed") IllegalStateException illegalStateOnlyOneSubscriber() -
illegalArgumentInvalidFailureStrategy
@Message(id=18004, value="Invalid failure strategy: %s") IllegalArgumentException illegalArgumentInvalidFailureStrategy(String strategy) -
illegalArgumentUnknownCommitStrategy
@Message(id=18005, value="Unknown commit strategy: %s") IllegalArgumentException illegalArgumentUnknownCommitStrategy(String strategy) -
illegalArgumentInvalidCommitStrategy
@Message(id=18006, value="Invalid commit strategy: %s") IllegalArgumentException illegalArgumentInvalidCommitStrategy(String strategy) -
unableToFindRebalanceListener
-
unableToFindRebalanceListener
-
missingValueDeserializer
@Message(id=18009, value="Cannot configure the Kafka consumer for channel `%s` - the `mp.messaging.incoming.%s.value.deserializer` property is missing") IllegalArgumentException missingValueDeserializer(String channel, String channelAgain) -
unableToCreateInstance
@Message(id=18010, value="Unable to create an instance of `%s`") IllegalArgumentException unableToCreateInstance(String clazz, @Cause Throwable cause) -
unableToFindDeserializationFailureHandler
-
unableToFindDeserializationFailureHandler
-
missingValueSerializer
@Message(id=18013, value="Cannot configure the Kafka producer for channel `%s` - the `mp.messaging.outgoing.%s.value.serializer` property is missing") IllegalArgumentException missingValueSerializer(String channel, String channelAgain) -
missingProperty
@Message(id=18014, value="The config property \'%s\' is required but it could not be found in any config source") NoSuchElementException missingProperty(String propertyName) -
cannotConvertProperty
@Message(id=18015, value="Cannot convert property \'%s\' of type %s to %s") NoSuchElementException cannotConvertProperty(String propertyName, Class<?> type, Class<?> targetType) -
unableToFindSerializationFailureHandler
-
unableToFindSerializationFailureHandler
-
unableToFindConsumerForChannel
@Message(id=18018, value="Unable to find the Kafka consumer for channel `%s`") IllegalStateException unableToFindConsumerForChannel(String channel) -
noKafkaMetadataFound
@Message(id=18019, value="Unable to find Kafka metadata in message `%s`") IllegalArgumentException noKafkaMetadataFound(org.eclipse.microprofile.reactive.messaging.Message<?> message) -
transactionInProgress
@Message(id=18020, value="A transaction is already in progress for channel `%s`") IllegalStateException transactionInProgress(String channel) -
exactlyOnceProcessingNotSupported
@Message(id=18021, value="Exactly-once processing is not supported on channels with multiple partitions `%s`") IllegalStateException exactlyOnceProcessingNotSupported(String channel)
-