public static class EventDataStreamFactory.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EventDataStreamFactory |
build() |
EventDataStreamFactory.Builder |
eventStreamConfigUri(String eventStreamConfigUri) |
EventDataStreamFactory.Builder |
eventStreamFactory(EventStreamFactory eventStreamFactory) |
EventDataStreamFactory.Builder |
generator(JsonEventGenerator generator) |
EventDataStreamFactory.Builder |
httpClientRoutes(Map<String,String> httpClientRoutes) |
EventDataStreamFactory.Builder |
schemaBaseUris(List<String> schemaBaseUris) |
EventDataStreamFactory.Builder |
topicFilter(Predicate<String> topicFilter)
The filter to apply when extracting the configured topics of a stream.
|
EventDataStreamFactory.Builder |
topicPrefix(String topicPrefix)
Filter source topics with a particular prefix (generally the datacenter name).
|
public EventDataStreamFactory.Builder topicPrefix(String topicPrefix)
topicPrefix
- the prefix to use (usually the name of a datacenter)public EventDataStreamFactory build()
public EventDataStreamFactory.Builder schemaBaseUris(List<String> schemaBaseUris)
this
.public EventDataStreamFactory.Builder eventStreamConfigUri(String eventStreamConfigUri)
this
.public EventDataStreamFactory.Builder eventStreamFactory(EventStreamFactory eventStreamFactory)
this
.public EventDataStreamFactory.Builder generator(JsonEventGenerator generator)
this
.public EventDataStreamFactory.Builder httpClientRoutes(Map<String,String> httpClientRoutes)
this
.public EventDataStreamFactory.Builder topicFilter(@Nonnull Predicate<String> topicFilter)
this
.Copyright © 2024. All rights reserved.