GitHub user kl0u opened a pull request:
https://github.com/apache/flink/pull/3094
[FLINK-5443] [FLINK-5318] RollingSink backwards compatible and migration to
BucketingSink.
This PR makes the RollingSink backwards compatible and allows to migrate
from a RollingSink (deprecated) to a BucketingSink transparently, only by
taking a savepoint and resuming from that after changing the code of the job.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kl0u/flink bucketing-backwards-comp
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3094.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3094
----
commit 24843820683a76fdffafc8422727001dec018be6
Author: kl0u <[email protected]>
Date: 2017-01-06T14:38:28Z
[FLINK-5318] Make the RollingSink backwards compatible.
commit 5a7b623152cc5efe878461a446317d1c0c30cf22
Author: kl0u <[email protected]>
Date: 2017-01-06T15:52:51Z
[FLINK-5443] Migrate from Rolling to Bucketing sink.
To migrate from a RollingSink to a BucketingSink, a
user can now take a savepoint, change his code to
use a BuckeingSink with the same properties as the
previous RollingSink, and resume his program from
that savepoint.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---