Created
March 3, 2022 22:05
-
-
Save sap1ens/e4bd1978082c15182a651e98c4077bde to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val records: DataStream[Record] = … | |
val fileSink: SinkFunction[Record] = … | |
records.keyBy(_.partition).addSink(fileSink) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment