Package | Description |
---|---|
org.apache.flink.api.connector.sink2 | |
org.apache.flink.connector.file.sink.writer | |
org.apache.flink.connector.pulsar.sink.writer.topic | |
org.apache.flink.state.api.runtime | |
org.apache.flink.streaming.runtime.tasks |
This package contains classes that realize streaming tasks.
|
Modifier and Type | Method and Description |
---|---|
ProcessingTimeService |
Sink.InitContext.getProcessingTimeService()
Returns a
ProcessingTimeService that can be used to get the current time and
register timers. |
Constructor and Description |
---|
FileWriter(Path basePath,
SinkWriterMetricGroup metricGroup,
BucketAssigner<IN,String> bucketAssigner,
FileWriterBucketFactory<IN> bucketFactory,
BucketWriter<IN,String> bucketWriter,
RollingPolicy<IN,String> rollingPolicy,
OutputFileConfig outputFileConfig,
ProcessingTimeService processingTimeService,
long bucketCheckInterval)
A constructor creating a new empty bucket manager.
|
Modifier and Type | Method and Description |
---|---|
void |
TopicMetadataListener.open(SinkConfiguration sinkConfiguration,
ProcessingTimeService timeService)
Register the topic metadata update in process time service.
|
Modifier and Type | Class and Description |
---|---|
class |
NeverFireProcessingTimeService
A processing time service whose timers never fire so all timers are included in savepoints.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProcessingTimeService
Defines the current processing time and handles all related actions, such as register timers for
tasks to be executed in the future.
|
interface |
TimerService
A common timer service interface with life cycle methods.
|
Modifier and Type | Class and Description |
---|---|
class |
SystemProcessingTimeService
A
TimerService which assigns as current processing time the result of calling System.currentTimeMillis() and registers timers using a ScheduledThreadPoolExecutor . |
class |
TestProcessingTimeService
This is a
TimerService and ProcessingTimeService used strictly for testing
the processing time functionality. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.