Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Incomplete
-
2.3.0
-
None
-
spark 2.3.0
java 1.8
kafka version 0.10.
Description
Hi ,
We have a requirement to read data from kafka, apply some transformation and store data to database .For this we are implementing watermarking feature along with aggregate function and for storing we are writing our own sink (Structured streaming) .we are using spark 2.3.0, java 1.8 and kafka version 0.10.
We are getting the below error.
"java.lang.AssertionError: assertion failed: No plan for EventTimeWatermark timestamp#39: timestamp, interval 2 minutes"
works perfectly fine when we use Console as sink instead custom sink. For Debugging the issue, we are performing "dataframe.show()" in our custom sink and nothing else.
Please find the attachment for the Error log and the code. Please look into this issue as this a blocker and we are not able to proceed further or find any alternatives as we need watermarking feature.