Class SegmentCompletionProtocol
- java.lang.Object
-
- org.apache.pinot.common.protocols.SegmentCompletionProtocol
-
public class SegmentCompletionProtocol extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentCompletionProtocol.ControllerResponseStatusstatic classSegmentCompletionProtocol.ExtendBuildTimeRequeststatic classSegmentCompletionProtocol.Requeststatic classSegmentCompletionProtocol.Responsestatic classSegmentCompletionProtocol.SegmentCommitEndRequeststatic classSegmentCompletionProtocol.SegmentCommitEndWithMetadataRequeststatic classSegmentCompletionProtocol.SegmentCommitRequeststatic classSegmentCompletionProtocol.SegmentCommitStartRequeststatic classSegmentCompletionProtocol.SegmentCommitUploadRequeststatic classSegmentCompletionProtocol.SegmentConsumedRequeststatic classSegmentCompletionProtocol.SegmentStoppedConsuming
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetDefaultMaxSegmentCommitTimeSeconds()static longgetMaxSegmentCommitTimeMs()static voidsetMaxSegmentCommitTimeMs(long commitTimeMs)
-
-
-
Field Detail
-
MAX_HOLD_TIME_MS
public static final long MAX_HOLD_TIME_MS
MAX_HOLD_TIME_MS is the maximum time (msecs) for which a server will be in HOLDING state, after which it will send in a SegmentConsumedRequest with its current offset in the stream.- See Also:
- Constant Field Values
-
STATUS_KEY
public static final String STATUS_KEY
- See Also:
- Constant Field Values
-
OFFSET_KEY
public static final String OFFSET_KEY
- See Also:
- Constant Field Values
-
BUILD_TIME_KEY
public static final String BUILD_TIME_KEY
- See Also:
- Constant Field Values
-
COMMIT_TYPE_KEY
public static final String COMMIT_TYPE_KEY
- See Also:
- Constant Field Values
-
SEGMENT_LOCATION_KEY
public static final String SEGMENT_LOCATION_KEY
- See Also:
- Constant Field Values
-
CONTROLLER_VIP_URL_KEY
public static final String CONTROLLER_VIP_URL_KEY
- See Also:
- Constant Field Values
-
STREAM_PARTITION_MSG_OFFSET_KEY
public static final String STREAM_PARTITION_MSG_OFFSET_KEY
- See Also:
- Constant Field Values
-
MSG_TYPE_CONSUMED
public static final String MSG_TYPE_CONSUMED
- See Also:
- Constant Field Values
-
MSG_TYPE_COMMIT
public static final String MSG_TYPE_COMMIT
- See Also:
- Constant Field Values
-
MSG_TYPE_COMMIT_START
public static final String MSG_TYPE_COMMIT_START
- See Also:
- Constant Field Values
-
MSG_TYPE_SEGMENT_UPLOAD
public static final String MSG_TYPE_SEGMENT_UPLOAD
- See Also:
- Constant Field Values
-
MSG_TYPE_COMMIT_END
public static final String MSG_TYPE_COMMIT_END
- See Also:
- Constant Field Values
-
MSG_TYPE_COMMIT_END_METADATA
public static final String MSG_TYPE_COMMIT_END_METADATA
- See Also:
- Constant Field Values
-
MSG_TYPE_STOPPED_CONSUMING
public static final String MSG_TYPE_STOPPED_CONSUMING
- See Also:
- Constant Field Values
-
MSG_TYPE_EXTEND_BUILD_TIME
public static final String MSG_TYPE_EXTEND_BUILD_TIME
- See Also:
- Constant Field Values
-
PARAM_SEGMENT_LOCATION
public static final String PARAM_SEGMENT_LOCATION
- See Also:
- Constant Field Values
-
PARAM_SEGMENT_NAME
public static final String PARAM_SEGMENT_NAME
- See Also:
- Constant Field Values
-
PARAM_OFFSET
public static final String PARAM_OFFSET
- See Also:
- Constant Field Values
-
PARAM_STREAM_PARTITION_MSG_OFFSET
public static final String PARAM_STREAM_PARTITION_MSG_OFFSET
- See Also:
- Constant Field Values
-
PARAM_INSTANCE_ID
public static final String PARAM_INSTANCE_ID
- See Also:
- Constant Field Values
-
PARAM_MEMORY_USED_BYTES
public static final String PARAM_MEMORY_USED_BYTES
- See Also:
- Constant Field Values
-
PARAM_SEGMENT_SIZE_BYTES
public static final String PARAM_SEGMENT_SIZE_BYTES
- See Also:
- Constant Field Values
-
PARAM_REASON
public static final String PARAM_REASON
- See Also:
- Constant Field Values
-
PARAM_EXTRA_TIME_SEC
public static final String PARAM_EXTRA_TIME_SEC
- See Also:
- Constant Field Values
-
PARAM_ROW_COUNT
public static final String PARAM_ROW_COUNT
- See Also:
- Constant Field Values
-
PARAM_BUILD_TIME_MILLIS
public static final String PARAM_BUILD_TIME_MILLIS
- See Also:
- Constant Field Values
-
PARAM_WAIT_TIME_MILLIS
public static final String PARAM_WAIT_TIME_MILLIS
- See Also:
- Constant Field Values
-
REASON_ROW_LIMIT
public static final String REASON_ROW_LIMIT
- See Also:
- Constant Field Values
-
REASON_TIME_LIMIT
public static final String REASON_TIME_LIMIT
- See Also:
- Constant Field Values
-
REASON_END_OF_PARTITION_GROUP
public static final String REASON_END_OF_PARTITION_GROUP
- See Also:
- Constant Field Values
-
REASON_FORCE_COMMIT_MESSAGE_RECEIVED
public static final String REASON_FORCE_COMMIT_MESSAGE_RECEIVED
- See Also:
- Constant Field Values
-
RESP_NOT_LEADER
public static final SegmentCompletionProtocol.Response RESP_NOT_LEADER
-
RESP_FAILED
public static final SegmentCompletionProtocol.Response RESP_FAILED
-
RESP_DISCARD
public static final SegmentCompletionProtocol.Response RESP_DISCARD
-
RESP_COMMIT_SUCCESS
public static final SegmentCompletionProtocol.Response RESP_COMMIT_SUCCESS
-
RESP_COMMIT_CONTINUE
public static final SegmentCompletionProtocol.Response RESP_COMMIT_CONTINUE
-
RESP_PROCESSED
public static final SegmentCompletionProtocol.Response RESP_PROCESSED
-
RESP_NOT_SENT
public static final SegmentCompletionProtocol.Response RESP_NOT_SENT
-
-