Table of Contents

Class KafkaActivityEnricher

Namespace
Silverback.Diagnostics
Assembly
Silverback.Integration.Kafka.dll

Enriches the Activity with Kafka specific tags.

public class KafkaActivityEnricher : IBrokerActivityEnricher<KafkaConsumerEndpointConfiguration>, IBrokerActivityEnricher<KafkaProducerEndpointConfiguration>, IBrokerActivityEnricher
Inheritance
KafkaActivityEnricher
Implements
Inherited Members

Constructors

KafkaActivityEnricher()

public KafkaActivityEnricher()

Methods

EnrichInboundActivity(Activity, IRawInboundEnvelope)

Enriches the consume activity when the message has been received, before it is processed.

public void EnrichInboundActivity(Activity activity, IRawInboundEnvelope envelope)

Parameters

activity Activity

The Activity to be enriched.

envelope IRawInboundEnvelope

The envelope of the consumed message, which hasn't been deserialized yet.

EnrichOutboundActivity(Activity, IOutboundEnvelope)

Enriches the produce activity right before the produced message is logged.

public void EnrichOutboundActivity(Activity activity, IOutboundEnvelope envelope)

Parameters

activity Activity

The Activity to be enriched.

envelope IOutboundEnvelope

The envelope of the produced message.