コード例 #1
0
    protected override void InterceptConsumerBuilder(ConsumerBuilder <string, IoTSensorStats> consumerBuilder)
    {
        base.InterceptConsumerBuilder(consumerBuilder);

        consumerBuilder.SetOffsetEnd(topicPartition => (LastConsumedOffset + 1) ?? Offset.Beginning);
    }