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

Multiple Sinks #44

Open
pekzeki opened this issue Mar 12, 2019 · 1 comment
Open

Multiple Sinks #44

pekzeki opened this issue Mar 12, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@pekzeki
Copy link

pekzeki commented Mar 12, 2019

Hi guys,

Does the library support multiple sinks?

I am using two sinks (KinesisSink & FileSink) in the same application. Both sinks use their own checkpoint locations.

  1. Read a stream.
  2. Apply some transformations on the DataFrame.
  3. writeStream to a FileSink.
  4. writeStream to a KinesisSink.
  5. spark.streams.awaitAnyTermination()

However, I encountered weird behaviors like

  • slow processing on KinesisSink
  • jumping iterator_age on Kinesis stream metrics
  • data loss

Could you give me some information about the functionalities of the library on multiple sinks?

Thanks.

@itsvikramagr
Copy link
Contributor

itsvikramagr commented Mar 14, 2019

Can you elaborate more on the observed behavior - data loss/jumping iterator_age?

The library was not designed keeping multiple sinks in mind. We can take that as a new feature ask. Please feel free to work on this functionality and start a PR.

@itsvikramagr itsvikramagr added the enhancement New feature or request label Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants