All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.protos.orderer.KafkaMetadataOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: orderer/kafka.proto

package org.hyperledger.fabric.protos.orderer;

public interface KafkaMetadataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:orderer.KafkaMetadata)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * LastOffsetPersisted is the encoded value for the Metadata message
   * which is encoded in the ORDERER block metadata index for the case
   * of the Kafka-based orderer.
   * 
* * int64 last_offset_persisted = 1 [json_name = "lastOffsetPersisted"]; * @return The lastOffsetPersisted. */ long getLastOffsetPersisted(); /** *
   * LastOriginalOffsetProcessed is used to keep track of the newest
   * offset processed if a message is re-validated and re-ordered.
   * This value is used to deduplicate re-submitted messages from
   * multiple orderer so that we don't bother re-processing it again.
   * 
* * int64 last_original_offset_processed = 2 [json_name = "lastOriginalOffsetProcessed"]; * @return The lastOriginalOffsetProcessed. */ long getLastOriginalOffsetProcessed(); /** *
   * LastResubmittedConfigOffset is used to capture the newest offset of
   * CONFIG kafka message, which is revalidated and resubmitted. By comparing
   * this with LastOriginalOffsetProcessed, we could detemine whether there
   * are still CONFIG messages that have been resubmitted but NOT processed
   * yet. It's used as condition to block ingress messages, so we could reduce
   * the overhead of repeatedly resubmitting messages as config seq keeps
   * advancing.
   * 
* * int64 last_resubmitted_config_offset = 3 [json_name = "lastResubmittedConfigOffset"]; * @return The lastResubmittedConfigOffset. */ long getLastResubmittedConfigOffset(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy