Class ConfluentSchemaRegistryConfig
- java.lang.Object
-
- io.trino.plugin.kafka.schema.confluent.ConfluentSchemaRegistryConfig
-
public class ConfluentSchemaRegistryConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfluentSchemaRegistryConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @javax.validation.constraints.Min(1L),@javax.validation.constraints.Max(2000L) intgetConfluentSchemaRegistryClientCacheSize()@Size(min=1) Set<HostAddress>getConfluentSchemaRegistryUrls()@MinDuration("1ms") @MaxDuration("30s") io.airlift.units.DurationgetConfluentSubjectsCacheRefreshInterval()AvroSchemaConverter.EmptyFieldStrategygetEmptyFieldStrategy()ConfluentSchemaRegistryConfigsetConfluentSchemaRegistryClientCacheSize(int confluentSchemaRegistryClientCacheSize)ConfluentSchemaRegistryConfigsetConfluentSchemaRegistryUrls(String confluentSchemaRegistryUrls)ConfluentSchemaRegistryConfigsetConfluentSubjectsCacheRefreshInterval(io.airlift.units.Duration confluentSubjectsCacheRefreshInterval)ConfluentSchemaRegistryConfigsetEmptyFieldStrategy(AvroSchemaConverter.EmptyFieldStrategy emptyFieldStrategy)
-
-
-
Method Detail
-
getConfluentSchemaRegistryUrls
@Size(min=1) public @Size(min=1) Set<HostAddress> getConfluentSchemaRegistryUrls()
-
setConfluentSchemaRegistryUrls
@Config("kafka.confluent-schema-registry-url") public ConfluentSchemaRegistryConfig setConfluentSchemaRegistryUrls(String confluentSchemaRegistryUrls)
-
getConfluentSchemaRegistryClientCacheSize
@Min(1L) @Max(2000L) public @javax.validation.constraints.Min(1L),@javax.validation.constraints.Max(2000L) int getConfluentSchemaRegistryClientCacheSize()
-
setConfluentSchemaRegistryClientCacheSize
@Config("kafka.confluent-schema-registry-client-cache-size") public ConfluentSchemaRegistryConfig setConfluentSchemaRegistryClientCacheSize(int confluentSchemaRegistryClientCacheSize)
-
getEmptyFieldStrategy
public AvroSchemaConverter.EmptyFieldStrategy getEmptyFieldStrategy()
-
setEmptyFieldStrategy
@Config("kafka.empty-field-strategy") public ConfluentSchemaRegistryConfig setEmptyFieldStrategy(AvroSchemaConverter.EmptyFieldStrategy emptyFieldStrategy)
-
getConfluentSubjectsCacheRefreshInterval
@MinDuration("1ms") @MaxDuration("30s") public @MinDuration("1ms") @MaxDuration("30s") io.airlift.units.Duration getConfluentSubjectsCacheRefreshInterval()
-
setConfluentSubjectsCacheRefreshInterval
@Config("kafka.confluent-subjects-cache-refresh-interval") public ConfluentSchemaRegistryConfig setConfluentSubjectsCacheRefreshInterval(io.airlift.units.Duration confluentSubjectsCacheRefreshInterval)
-
-