Class KafkaRecordMetadata

Namespace: redb.Route.Kafka
Assembly: redb.Route.Kafka.dll

The metadata of one sent record, the fields of Kafka's RecordMetadata that Camel puts in
: its topic, partition, offset and timestamp (milliseconds since the Unix epoch,
the record's timestamp as the broker stored it).

public sealed record KafkaRecordMetadata : IEquatable<KafkaRecordMetadata>

Inheritance

Object→KafkaRecordMetadata

Implements

Properties

Offset

public long Offset { get; init; }

Partition

public int Partition { get; init; }

Timestamp

public long Timestamp { get; init; }

Topic

public string Topic { get; init; }

Constructors

KafkaRecordMetadata(string, int, long, long)

The metadata of one sent record, the fields of Kafka's RecordMetadata that Camel puts in