Show / Hide Table of Contents

    Class KafkaLogEvents

    Contains the LogEvent constants of all events logged by the Silverback.Integration.Kafka package.

    Inheritance
    object
    KafkaLogEvents
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Diagnostics
    Assembly: Silverback.Integration.Kafka.dll
    Syntax
    public static class KafkaLogEvents

    Properties

    | Improve this doc View source

    ConfluentConsumerDisconnectError

    Gets the LogEvent representing the log that is written when an exception is thrown disconnecting the underlying Confluent.Kafka consumer.

    Declaration
    public static LogEvent ConfluentConsumerDisconnectError { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ConfluentConsumerError

    Gets the LogEvent representing the log that is written when a non fatal error is reported by the Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerError { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    Fatal errors are reported with a different event id.

    | Improve this doc View source

    ConfluentConsumerFatalError

    Gets the LogEvent representing the log that is written when a fatal error is reported by the Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerFatalError { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    Non fatal errors are reported with a different event id.

    | Improve this doc View source

    ConfluentConsumerLogCritical

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerLogCritical { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentConsumerLogDebug

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerLogDebug { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentConsumerLogError

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerLogError { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentConsumerLogInformation

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerLogInformation { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentConsumerLogWarning

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Consumer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentConsumerLogWarning { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentProducerLogCritical

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Producer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentProducerLogCritical { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentProducerLogDebug

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Producer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentProducerLogDebug { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentProducerLogError

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Producer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentProducerLogError { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentProducerLogInformation

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Producer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentProducerLogInformation { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConfluentProducerLogWarning

    Gets the LogEvent representing the log that is written when a log event is received from the underlying Confluent.Kafka.Producer<TKey, TValue>.

    Declaration
    public static LogEvent ConfluentProducerLogWarning { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    A different event id is used per each log level.

    | Improve this doc View source

    ConsumerStatisticsReceived

    Gets the LogEvent representing the log that is written when the consumer statistics are received.

    Declaration
    public static LogEvent ConsumerStatisticsReceived { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ConsumingCanceled

    Gets the LogEvent representing the log that is written when the Consume is aborted (usually because the broker is being disconnected or the application is exiting).

    Declaration
    public static LogEvent ConsumingCanceled { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ConsumingMessage

    Gets the LogEvent representing the log that is written when a message is consumed from a Kafka topic.

    Declaration
    public static LogEvent ConsumingMessage { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    CreatingConfluentProducer

    Gets the LogEvent representing the log that is written when the Confluent.Kafka.Producer<TKey, TValue> is being instantiated.

    Declaration
    public static LogEvent CreatingConfluentProducer { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    EndOfPartition

    Gets the LogEvent representing the log that is written when the end of partition is reached.

    Declaration
    public static LogEvent EndOfPartition { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ErrorRecoveringFromKafkaException

    Gets the LogEvent representing the log that is written when the KafkaConsumer is unable to recover from the KafkaExceptionAutoRecovery.

    Declaration
    [Obsolete("Not used anymore.", true)]
    public static LogEvent ErrorRecoveringFromKafkaException { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    KafkaErrorHandlerError

    Gets the LogEvent representing the log that is written when the custom error handler throws an unhandled exception.

    Declaration
    public static LogEvent KafkaErrorHandlerError { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    KafkaExceptionAutoRecovery

    Gets the LogEvent representing the log that is written when a Confluent.Kafka.KafkaException is thrown inside the Consume method. The consumer will automatically recover from these exceptions (EnableAutoRecovery is true).

    Declaration
    public static LogEvent KafkaExceptionAutoRecovery { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    KafkaExceptionNoAutoRecovery

    Gets the LogEvent representing the log that is written when a Confluent.Kafka.KafkaException is thrown inside the Consume method. The consumer will be stopped (EnableAutoRecovery is false).

    Declaration
    public static LogEvent KafkaExceptionNoAutoRecovery { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    KafkaLogHandlerError

    Gets the LogEvent representing the log that is written when the custom log handler throws an unhandled exception.

    Declaration
    public static LogEvent KafkaLogHandlerError { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    OffsetCommitError

    Gets the LogEvent representing the log that is written when an error occurs while committing the offset.

    Declaration
    public static LogEvent OffsetCommitError { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    OffsetCommitted

    Gets the LogEvent representing the log that is written when an offset is successfully committed.

    Declaration
    public static LogEvent OffsetCommitted { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    PartitionAssigned

    Gets the LogEvent representing the log that is written when a new consumer group partition assignment has been received by a consumer.

    Declaration
    public static LogEvent PartitionAssigned { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    An event will be logged for each assigned partition.

    | Improve this doc View source

    PartitionManuallyAssigned

    Gets the LogEvent representing the log that is written when the partitions are manually assigned.

    Declaration
    public static LogEvent PartitionManuallyAssigned { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    An event will be logged for each assigned partition.

    | Improve this doc View source

    PartitionOffsetReset

    Gets the LogEvent representing the log that is written when the offset of an assigned partition is being reset.

    Declaration
    public static LogEvent PartitionOffsetReset { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    PartitionPaused

    Gets the LogEvent representing the log that is written when a partition is paused.

    Declaration
    public static LogEvent PartitionPaused { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    PartitionResumed

    Gets the LogEvent representing the log that is written when a partition is resumed.

    Declaration
    public static LogEvent PartitionResumed { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    PartitionRevoked

    Gets the LogEvent representing the log that is written when a group partition assignment is being revoked.

    Declaration
    public static LogEvent PartitionRevoked { get; }
    Property Value
    Type Description
    LogEvent
    Remarks

    An event will be logged for each revoked partition.

    | Improve this doc View source

    PollTimeoutAutoRecovery

    Gets the LogEvent representing the log that is written when a poll timeout is notified. The consumer will automatically recover from these situation (EnableAutoRecovery is true).

    Declaration
    public static LogEvent PollTimeoutAutoRecovery { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    PollTimeoutNoAutoRecovery

    Gets the LogEvent representing the log that is written when a poll timeout is notified. The consumer will be stopped (EnableAutoRecovery is false).

    Declaration
    public static LogEvent PollTimeoutNoAutoRecovery { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ProduceNotAcknowledged

    Gets the LogEvent representing the log that is written when the message is sent to the broker but no acknowledge is received. This is logged only if ThrowIfNotAcknowledged is false.

    Declaration
    public static LogEvent ProduceNotAcknowledged { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    ProducerStatisticsReceived

    Gets the LogEvent representing the log that is written when the producer statistics are received.

    Declaration
    public static LogEvent ProducerStatisticsReceived { get; }
    Property Value
    Type Description
    LogEvent
    | Improve this doc View source

    StatisticsDeserializationError

    Gets the LogEvent representing the log that is written when the statistics JSON cannot be deserialized.

    Declaration
    public static LogEvent StatisticsDeserializationError { get; }
    Property Value
    Type Description
    LogEvent
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini