T
- the type of data emittedpublic class FlinkDynamoDBStreamsConsumer<T> extends FlinkKinesisConsumer<T>
SourceFunction.SourceContext<T>
Constructor and Description |
---|
FlinkDynamoDBStreamsConsumer(List<String> streams,
KinesisDeserializationSchema deserializer,
Properties config)
Constructor of FlinkDynamodbStreamConsumer.
|
FlinkDynamoDBStreamsConsumer(String stream,
DeserializationSchema<T> deserializer,
Properties config)
Constructor of FlinkDynamoDBStreamsConsumer.
|
Modifier and Type | Method and Description |
---|---|
protected KinesisDataFetcher<T> |
createFetcher(List<String> streams,
SourceFunction.SourceContext<T> sourceContext,
RuntimeContext runtimeContext,
Properties configProps,
KinesisDeserializationSchema<T> deserializationSchema)
This method is exposed for tests that need to mock the KinesisDataFetcher in the consumer.
|
cancel, close, getPeriodicWatermarkAssigner, getProducedType, getShardAssigner, getWatermarkTracker, initializeState, run, setPeriodicWatermarkAssigner, setShardAssigner, setWatermarkTracker, snapshotState
getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContext
public FlinkDynamoDBStreamsConsumer(String stream, DeserializationSchema<T> deserializer, Properties config)
stream
- stream to consumedeserializer
- deserialization schemaconfig
- config propertiespublic FlinkDynamoDBStreamsConsumer(List<String> streams, KinesisDeserializationSchema deserializer, Properties config)
streams
- list of streams to consumedeserializer
- deserialization schemaconfig
- config propertiesprotected KinesisDataFetcher<T> createFetcher(List<String> streams, SourceFunction.SourceContext<T> sourceContext, RuntimeContext runtimeContext, Properties configProps, KinesisDeserializationSchema<T> deserializationSchema)
FlinkKinesisConsumer
createFetcher
in class FlinkKinesisConsumer<T>
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.