Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 2.78 KB

JsonSchemaKafkaRest.md

File metadata and controls

65 lines (41 loc) · 2.78 KB

JsonSchemaKafkaRest

Properties

Name Type Description Notes
producerCompressionType ProducerCompressionTypeEnum Specify the default compression type for producers. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). It additionally accepts 'none' which is the default and equivalent to no compression. [optional]
nameStrategyValidation Boolean If true, validate that given schema is registered under expected subject name by the used name strategy when producing messages. [optional]
nameStrategy NameStrategyEnum Name strategy to use when selecting subject for storing schemas [optional]
consumerEnableAutoCommit Boolean If true the consumer's offset will be periodically committed to Kafka in the background [optional]
producerAcks ProducerAcksEnum The number of acknowledgments the producer requires the leader to have received before considering a request complete. If set to 'all' or '-1', the leader will wait for the full set of in-sync replicas to acknowledge the record. [optional]
consumerRequestMaxBytes Integer Maximum number of bytes in unencoded message keys and values by a single request [optional]
producerMaxRequestSize Integer The maximum size of a request in bytes. Note that Kafka broker can also cap the record batch size. [optional]
simpleconsumerPoolSizeMax Integer Maximum number of SimpleConsumers that can be instantiated per broker [optional]
producerLingerMs Integer Wait for up to the given delay to allow batching records together [optional]
consumerRequestTimeoutMs ConsumerRequestTimeoutMsEnum The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached [optional]

Enum: ProducerCompressionTypeEnum

Name Value
GZIP "gzip"
SNAPPY "snappy"
LZ4 "lz4"
ZSTD "zstd"
NONE "none"

Enum: NameStrategyEnum

Name Value
TOPIC_NAME "topic_name"
RECORD_NAME "record_name"
TOPIC_RECORD_NAME "topic_record_name"

Enum: ProducerAcksEnum

Name Value
ALL "all"
_1 "-1"
_0 "0"
_12 "1"

Enum: ConsumerRequestTimeoutMsEnum

Name Value
NUMBER_1000 1000
NUMBER_15000 15000
NUMBER_30000 30000