-
Notifications
You must be signed in to change notification settings - Fork 119
Enables Pulsar as Streaming Source and Sink in Flink DataStream #4
Conversation
private val defaultCacheExpireTimeout = TimeUnit.MINUTES.toMillis(10) | ||
|
||
private lazy val cacheExpireTimeout: Long = defaultCacheExpireTimeout | ||
// TODO: how to get current context with settings in Flink |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this or create an issue for tracking a fix for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened an issue to track this.
val pulsarClient: Client = org.apache.pulsar.client.api.PulsarClient | ||
.builder() | ||
.serviceUrl(pulsarServiceUrl) | ||
.loadConf(clientConf) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have the case insensitive issue as what we had in Spark?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add a test case for this, opened an issue.
@yjshen can you please talk a look at the CI failure? |
Done. |
This PR focus on consuming typed message from Pulsar and produce typed message to Pulsar.
Master Issue: #1
It's consist of the following part:
setFlushOnCheckpoint
set to true