Skip to content

Support more sink #5

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

Open
lispking opened this issue Apr 23, 2025 · 5 comments
Open

Support more sink #5

lispking opened this issue Apr 23, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@lispking
Copy link
Owner

No description provided.

@lispking lispking added the enhancement New feature or request label Apr 26, 2025
@liyiheng
Copy link
Contributor

liyiheng commented Apr 30, 2025

HTTP/Vector sink could act as a Vector source, HTTP/Vector source could act as a Vector sink.

Same with other sinks/sources that Vector supports. But only a few sinks communicate with Vector directly

@lispking
Copy link
Owner Author

lispking commented Apr 30, 2025

HTTP/Vector sink could act as a Vector source, HTTP/Vector source could act as a Vector sink.

Same with other sinks/sources that Vector supports. But only a few sinks communicate with Vector directly

I've also been thinking about HTTP recently.

Although there are all kinds of HTTP requests, just providing basic HTTP functionality without a bit of customization may not be very useful.

Perhaps we could offer some fundamental HTTP capabilities, such as a retry mechanism and rate - limiting.

Then, for other related issues, like the implementation of gharchive #7 , we can perform secondary processing based on these capabilities.

This way, other HTTP services won't have to handle these basic capabilities again later.

What do you think?

@lispking
Copy link
Owner Author

HTTP/Vector sink could act as a Vector source, HTTP/Vector source could act as a Vector sink.

Same with other sinks/sources that Vector supports. But only a few sinks communicate with Vector directly

After some thought, I realize that implementing HTTP functionality as a separate issue #58 is indeed a good idea. This approach will make it more versatile.

@sankred9527
Copy link
Contributor

sankred9527 commented May 3, 2025

btw : should we support foreach / foreachBatch features like spark has done ?

https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#using-foreach-and-foreachbatch

@lispking
Copy link
Owner Author

lispking commented May 3, 2025

btw : should we support foreach / foreachBatch features like spark has done ?

https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#using-foreach-and-foreachbatch

It looks good. However, I don't know what the utilization rate of the sinks is for these two approaches.
(aha, I haven't used Spark for a relatively long time.)

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

3 participants