Class ConsumerGroupOffsetsUtils
java.lang.Object
io.confluent.kafkarest.exceptions.ConsumerGroupOffsetsUtils
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionmapAlterOffsetExecutionExceptionToError(ExecutionException ee, org.apache.kafka.common.TopicPartition tp, String consumerGroupId) Maps ExecutionException, thrown while handling result of Admin.alterConsumerGroupOffsets(), to REST errors.mapListOffsetExecutionExceptionToError(ExecutionException ee, org.apache.kafka.common.TopicPartition tp, String consumerGroupId) Maps ExecutionException, thrown while handling result of Admin.ListOffsets(), to REST errors.
-
Field Details
-
INTERNAL_SERVER_ERROR_MSG_LIST_OFFSETS_TMPL
- See Also:
-
INTERNAL_SERVER_ERROR_MSG_ALTER_OFFSETS_TMPL
- See Also:
-
UNAUTHORIZED_ERROR_MSG_LIST_OFFSETS_TMPL
- See Also:
-
UNAUTHORIZED_ERROR_MSG_ALTER_OFFSETS_TMPL
- See Also:
-
GROUP_UNAUTHORIZED_ERROR_MSG_ALTER_OFFSETS_TMPL
- See Also:
-
TOPIC_UNAUTHORIZED_ERROR_MSG_ALTER_OFFSETS_TMPL
- See Also:
-
BAD_REQUEST_ERROR_MSG_ALTER_OFFSETS_TMPL
- See Also:
-
-
Method Details
-
mapListOffsetExecutionExceptionToError
public static ConsumerGroupOffsetsUtils.Error mapListOffsetExecutionExceptionToError(ExecutionException ee, org.apache.kafka.common.TopicPartition tp, String consumerGroupId) Maps ExecutionException, thrown while handling result of Admin.ListOffsets(), to REST errors. -
mapAlterOffsetExecutionExceptionToError
public static ConsumerGroupOffsetsUtils.Error mapAlterOffsetExecutionExceptionToError(ExecutionException ee, org.apache.kafka.common.TopicPartition tp, String consumerGroupId) Maps ExecutionException, thrown while handling result of Admin.alterConsumerGroupOffsets(), to REST errors.
-