Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-13396] Deprecate the BucketingSink. #9244

Closed
wants to merge 3 commits into from

Conversation

kl0u
Copy link
Contributor

@kl0u kl0u commented Jul 26, 2019

What is the purpose of the change

It marks the BucketingSink as deprecated in favour of the StreamingFileSink and updates the documentation accordingly.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@kl0u kl0u requested a review from aljoscha July 26, 2019 15:04
@flinkbot
Copy link
Collaborator

flinkbot commented Jul 26, 2019

Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.

Automated Checks

Last check on commit 85422f4 (Tue Aug 06 15:55:30 UTC 2019)

Warnings:

  • Documentation files were touched, but no .zh.md files: Update Chinese documentation or file Jira ticket.

Mention the bot in a comment to re-run the automated checks.

Review Progress

  • ❓ 1. The [description] looks good.
  • ❓ 2. There is [consensus] that the contribution should go into to Flink.
  • ❓ 3. Needs [attention] from.
  • ❓ 4. The change fits into the overall [architecture].
  • ❓ 5. Overall code [quality] is good.

Please see the Pull Request Review Guide for a full explanation of the review process.


The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commands
The @flinkbot bot supports the following commands:

  • @flinkbot approve description to approve one or more aspects (aspects: description, consensus, architecture and quality)
  • @flinkbot approve all to approve all aspects
  • @flinkbot approve-until architecture to approve everything until architecture
  • @flinkbot attention @username1 [@username2 ..] to require somebody's attention
  • @flinkbot disapprove architecture to remove an approval you gave earlier

@flinkbot
Copy link
Collaborator

flinkbot commented Jul 26, 2019

CI report:

Copy link
Member

@wuchong wuchong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@@ -23,6 +23,10 @@ specific language governing permissions and limitations
under the License.
-->

<div class="alert alert-info">
The BucketingSink has been deprecated since Flink 1.9 and will be removed in subsequent releases. Please use the StreamingFileSink instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let'S add a link to the documentation of the StreamingFileSink

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@kl0u
Copy link
Contributor Author

kl0u commented Jul 29, 2019

Thanks for the review @wuchong !
I integrated your comment @zentol . Let me know what you think.

@mzuehlke
Copy link
Member

Just some tiny comments:

  • should the org.apache.flink.streaming.connectors.fs.bucketing.Bucketer be deprecated, too ?
  • In the package org.apache.flink.streaming.api.functions.sink are some already deprecated classes that point to the now also deprecated BucketingSink: @deprecated Please use the {@code BucketingSink} for writing to files from a streaming program. Not ideal from a user perspective.

@kl0u
Copy link
Contributor Author

kl0u commented Jul 30, 2019

Thanks for looking into it @mzuehlke . I integrated your comments. Let me know if I forgot anything.

@mzuehlke
Copy link
Member

Thanks for the update. 👍 from my side

@kl0u
Copy link
Contributor Author

kl0u commented Jul 30, 2019

@zentol do you have any further comments?

Copy link
Contributor

@aljoscha aljoscha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good to merge now! 👌

@kl0u
Copy link
Contributor Author

kl0u commented Jul 31, 2019

Thanks for the reviews. Merged.

@kl0u kl0u closed this Jul 31, 2019
@kl0u kl0u deleted the bucketing-deprecate branch January 28, 2020 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants