public class KeyValueSerdeResolver extends Object implements org.springframework.context.ApplicationContextAware
KafkaStreamsStateStore
to create Serde accordingly.| Modifier and Type | Method and Description |
|---|---|
org.apache.kafka.common.serialization.Serde<?> |
getInboundKeySerde(KafkaStreamsConsumerProperties extendedConsumerProperties)
Provide the
Serde for inbound key. |
org.apache.kafka.common.serialization.Serde<?> |
getInboundKeySerde(KafkaStreamsConsumerProperties extendedConsumerProperties,
org.springframework.core.ResolvableType resolvableType) |
org.apache.kafka.common.serialization.Serde<?> |
getInboundValueSerde(org.springframework.cloud.stream.binder.ConsumerProperties consumerProperties,
KafkaStreamsConsumerProperties extendedConsumerProperties)
Provide the
Serde for inbound value. |
org.apache.kafka.common.serialization.Serde<?> |
getInboundValueSerde(org.springframework.cloud.stream.binder.ConsumerProperties consumerProperties,
KafkaStreamsConsumerProperties extendedConsumerProperties,
org.springframework.core.ResolvableType resolvableType) |
org.apache.kafka.common.serialization.Serde<?> |
getOuboundKeySerde(KafkaStreamsProducerProperties properties)
Provide the
Serde for outbound key. |
org.apache.kafka.common.serialization.Serde<?> |
getOuboundKeySerde(KafkaStreamsProducerProperties properties,
org.springframework.core.ResolvableType resolvableType) |
org.apache.kafka.common.serialization.Serde<?> |
getOutboundValueSerde(org.springframework.cloud.stream.binder.ProducerProperties producerProperties,
KafkaStreamsProducerProperties kafkaStreamsProducerProperties)
Provide the
Serde for outbound value. |
org.apache.kafka.common.serialization.Serde<?> |
getOutboundValueSerde(org.springframework.cloud.stream.binder.ProducerProperties producerProperties,
KafkaStreamsProducerProperties kafkaStreamsProducerProperties,
org.springframework.core.ResolvableType resolvableType) |
org.apache.kafka.common.serialization.Serde<?> |
getStateStoreKeySerde(String keySerdeString)
Provide the
Serde for state store. |
org.apache.kafka.common.serialization.Serde<?> |
getStateStoreValueSerde(String valueSerdeString)
Provide the
Serde for state store value. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public org.apache.kafka.common.serialization.Serde<?> getInboundKeySerde(KafkaStreamsConsumerProperties extendedConsumerProperties)
Serde for inbound key.extendedConsumerProperties - binding level extended
KafkaStreamsConsumerPropertiesSerde for the inbound key.public org.apache.kafka.common.serialization.Serde<?> getInboundKeySerde(KafkaStreamsConsumerProperties extendedConsumerProperties, org.springframework.core.ResolvableType resolvableType)
public org.apache.kafka.common.serialization.Serde<?> getInboundValueSerde(org.springframework.cloud.stream.binder.ConsumerProperties consumerProperties,
KafkaStreamsConsumerProperties extendedConsumerProperties)
Serde for inbound value.consumerProperties - ConsumerProperties on bindingextendedConsumerProperties - binding level extended
KafkaStreamsConsumerPropertiesSerde for the inbound value.public org.apache.kafka.common.serialization.Serde<?> getInboundValueSerde(org.springframework.cloud.stream.binder.ConsumerProperties consumerProperties,
KafkaStreamsConsumerProperties extendedConsumerProperties,
org.springframework.core.ResolvableType resolvableType)
public org.apache.kafka.common.serialization.Serde<?> getOuboundKeySerde(KafkaStreamsProducerProperties properties)
Serde for outbound key.properties - binding level extended KafkaStreamsProducerPropertiesSerde for the outbound key.public org.apache.kafka.common.serialization.Serde<?> getOuboundKeySerde(KafkaStreamsProducerProperties properties, org.springframework.core.ResolvableType resolvableType)
public org.apache.kafka.common.serialization.Serde<?> getOutboundValueSerde(org.springframework.cloud.stream.binder.ProducerProperties producerProperties,
KafkaStreamsProducerProperties kafkaStreamsProducerProperties)
Serde for outbound value.producerProperties - ProducerProperties on bindingkafkaStreamsProducerProperties - binding level extended
KafkaStreamsProducerPropertiesSerde for the outbound value.public org.apache.kafka.common.serialization.Serde<?> getOutboundValueSerde(org.springframework.cloud.stream.binder.ProducerProperties producerProperties,
KafkaStreamsProducerProperties kafkaStreamsProducerProperties,
org.springframework.core.ResolvableType resolvableType)
public org.apache.kafka.common.serialization.Serde<?> getStateStoreKeySerde(String keySerdeString)
Serde for state store.keySerdeString - serde class used for keySerde for the state store key.public org.apache.kafka.common.serialization.Serde<?> getStateStoreValueSerde(String valueSerdeString)
Serde for state store value.valueSerdeString - serde class used for valueSerde for the state store value.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2021 Pivotal Software, Inc.. All rights reserved.