Package com.exoscale.sdk.model
Class JsonSchemaKafkaRest
java.lang.Object
com.exoscale.sdk.model.JsonSchemaKafkaRest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class JsonSchemaKafkaRest
extends Object
JsonSchemaKafkaRest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reachedstatic enum
Name strategy to use when selecting subject for storing schemasstatic enum
The number of acknowledgments the producer requires the leader to have received before considering a request complete.static enum
Specify the default compression type for producers. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsumerEnableAutoCommit
(Boolean consumerEnableAutoCommit) consumerRequestMaxBytes
(Integer consumerRequestMaxBytes) consumerRequestTimeoutMs
(JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum consumerRequestTimeoutMs) boolean
Return true if this json-schema-kafka-rest object is equal to o.If true the consumer's offset will be periodically committed to Kafka in the backgroundMaximum number of bytes in unencoded message keys and values by a single request minimum: 0 maximum: 671088640The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reachedName strategy to use when selecting subject for storing schemasIf true, validate that given schema is registered under expected subject name by the used name strategy when producing messages.The number of acknowledgments the producer requires the leader to have received before considering a request complete.Specify the default compression type for producers.Wait for up to the given delay to allow batching records together minimum: 0 maximum: 5000The maximum size of a request in bytes.Maximum number of SimpleConsumers that can be instantiated per broker minimum: 10 maximum: 250int
hashCode()
nameStrategy
(JsonSchemaKafkaRest.NameStrategyEnum nameStrategy) nameStrategyValidation
(Boolean nameStrategyValidation) producerAcks
(JsonSchemaKafkaRest.ProducerAcksEnum producerAcks) producerCompressionType
(JsonSchemaKafkaRest.ProducerCompressionTypeEnum producerCompressionType) producerLingerMs
(Integer producerLingerMs) producerMaxRequestSize
(Integer producerMaxRequestSize) void
setConsumerEnableAutoCommit
(Boolean consumerEnableAutoCommit) void
setConsumerRequestMaxBytes
(Integer consumerRequestMaxBytes) void
setConsumerRequestTimeoutMs
(JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum consumerRequestTimeoutMs) void
setNameStrategy
(JsonSchemaKafkaRest.NameStrategyEnum nameStrategy) void
setNameStrategyValidation
(Boolean nameStrategyValidation) void
setProducerAcks
(JsonSchemaKafkaRest.ProducerAcksEnum producerAcks) void
setProducerCompressionType
(JsonSchemaKafkaRest.ProducerCompressionTypeEnum producerCompressionType) void
setProducerLingerMs
(Integer producerLingerMs) void
setProducerMaxRequestSize
(Integer producerMaxRequestSize) void
setSimpleconsumerPoolSizeMax
(Integer simpleconsumerPoolSizeMax) simpleconsumerPoolSizeMax
(Integer simpleconsumerPoolSizeMax) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PRODUCER_COMPRESSION_TYPE
- See Also:
-
JSON_PROPERTY_NAME_STRATEGY_VALIDATION
- See Also:
-
JSON_PROPERTY_NAME_STRATEGY
- See Also:
-
JSON_PROPERTY_CONSUMER_ENABLE_AUTO_COMMIT
- See Also:
-
JSON_PROPERTY_PRODUCER_ACKS
- See Also:
-
JSON_PROPERTY_CONSUMER_REQUEST_MAX_BYTES
- See Also:
-
JSON_PROPERTY_PRODUCER_MAX_REQUEST_SIZE
- See Also:
-
JSON_PROPERTY_SIMPLECONSUMER_POOL_SIZE_MAX
- See Also:
-
JSON_PROPERTY_PRODUCER_LINGER_MS
- See Also:
-
JSON_PROPERTY_CONSUMER_REQUEST_TIMEOUT_MS
- See Also:
-
-
Constructor Details
-
JsonSchemaKafkaRest
public JsonSchemaKafkaRest()
-
-
Method Details
-
producerCompressionType
public JsonSchemaKafkaRest producerCompressionType(JsonSchemaKafkaRest.ProducerCompressionTypeEnum producerCompressionType) -
getProducerCompressionType
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.- Returns:
- producerCompressionType
-
setProducerCompressionType
public void setProducerCompressionType(JsonSchemaKafkaRest.ProducerCompressionTypeEnum producerCompressionType) -
nameStrategyValidation
-
getNameStrategyValidation
If true, validate that given schema is registered under expected subject name by the used name strategy when producing messages.- Returns:
- nameStrategyValidation
-
setNameStrategyValidation
-
nameStrategy
-
getNameStrategy
Name strategy to use when selecting subject for storing schemas- Returns:
- nameStrategy
-
setNameStrategy
-
consumerEnableAutoCommit
-
getConsumerEnableAutoCommit
If true the consumer's offset will be periodically committed to Kafka in the background- Returns:
- consumerEnableAutoCommit
-
setConsumerEnableAutoCommit
-
producerAcks
-
getProducerAcks
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.- Returns:
- producerAcks
-
setProducerAcks
-
consumerRequestMaxBytes
-
getConsumerRequestMaxBytes
Maximum number of bytes in unencoded message keys and values by a single request minimum: 0 maximum: 671088640- Returns:
- consumerRequestMaxBytes
-
setConsumerRequestMaxBytes
-
producerMaxRequestSize
-
getProducerMaxRequestSize
The maximum size of a request in bytes. Note that Kafka broker can also cap the record batch size. minimum: 0 maximum: 2147483647- Returns:
- producerMaxRequestSize
-
setProducerMaxRequestSize
-
simpleconsumerPoolSizeMax
-
getSimpleconsumerPoolSizeMax
Maximum number of SimpleConsumers that can be instantiated per broker minimum: 10 maximum: 250- Returns:
- simpleconsumerPoolSizeMax
-
setSimpleconsumerPoolSizeMax
-
producerLingerMs
-
getProducerLingerMs
Wait for up to the given delay to allow batching records together minimum: 0 maximum: 5000- Returns:
- producerLingerMs
-
setProducerLingerMs
-
consumerRequestTimeoutMs
public JsonSchemaKafkaRest consumerRequestTimeoutMs(JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum consumerRequestTimeoutMs) -
getConsumerRequestTimeoutMs
The maximum total time to wait for messages for a request if the maximum number of messages has not yet been reached- Returns:
- consumerRequestTimeoutMs
-
setConsumerRequestTimeoutMs
public void setConsumerRequestTimeoutMs(JsonSchemaKafkaRest.ConsumerRequestTimeoutMsEnum consumerRequestTimeoutMs) -
equals
Return true if this json-schema-kafka-rest object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-