[
https://issues.apache.org/jira/browse/SPARK-17631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15529311#comment-15529311
]
zhangxinyu commented on SPARK-17631:
------------------------------------
I agree with your points that http could be used as a ligthweight protocol for
transferring data to remote system, and `ForeachSink` can cover this function.
However, http protocol is widely used, why http users have to implement it by
themselves? Maybe it's better to use `HttpSink`, because users only need to set
some configurations. Instead, if we use foreachSink, users have to implementing
`ForeachWriter` themselves.
About the second use case, i can't agree with you more. I should support https
and add some configuration so that it can be more useful. Could you give me
more examples about configurability?
Thank you so much!
> Structured Streaming - Do we need to output results through http API?
> ---------------------------------------------------------------------
>
> Key: SPARK-17631
> URL: https://issues.apache.org/jira/browse/SPARK-17631
> Project: Spark
> Issue Type: New Feature
> Components: SQL, Streaming
> Affects Versions: 2.0.0
> Reporter: zhangxinyu
> Priority: Minor
>
> Streaming query results can be sinked to http server through http post request
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]