vectordotdev / vector

A high-performance observability data pipeline.
https://vector.dev
Mozilla Public License 2.0
17.43k stars 1.51k forks source link

add support for sftp source and sink #3382

Open clojurians-org opened 4 years ago

clojurians-org commented 4 years ago

we have no access right to install vector and mount disk for remote data source. so we can only pull data from remote by sftp.

kafka connect already has a sftp connect.

https://docs.confluent.io/current/connect/kafka-connect-sftp/index.html

gaby commented 1 year ago

@binarylogic @jszwedko Any updates on this? SFTP via a single or pool of ssh connections would be very useful!

spencergilbert commented 1 year ago

This isn't on our near-term roadmap at the moment. We've recently started trying out integrations through OpenDAL, and while not supported yet sftp is on their roadmap.

gaby commented 1 year ago

@spencergilbert Thanks for the info. Looking forward to all this in the future!

gaby commented 1 year ago

@spencergilbert Although not released yet, sftp support was recently merged to OpenDAL :-)

https://github.com/apache/incubator-opendal/pull/2186

gaby commented 1 year ago

SFTP support has been released by OpenDAL: https://github.com/apache/incubator-opendal/releases/tag/v0.33.3

Xuanwo commented 1 year ago

Maybe we can start by adding sftp as a sink.

gaby commented 1 year ago

@Xuanwo That would be awesome!

gaby commented 1 year ago

Has there been any updates on this? 🤔

jszwedko commented 1 year ago

Has there been any updates on this? 🤔

Not that I'm aware of. I think a sink leveraging OpenDAL would be a good start though. If anyone is so motivated you can see the WebHDFS sink for an example of what this might look like (it also uses OpenDAL).

Xuanwo commented 1 year ago

Hi, I start a draft at https://github.com/vectordotdev/vector/pull/18076. Welcome to have a look!

Adding new opendal-based sinks is quite simple, as it mostly involves configuration and documentation tasks.

gaby commented 1 year ago

Hi, I start a draft at #18076. Welcome to have a look!

Adding new opendal-based sinks is quite simple, as it mostly involves configuration and documentation tasks.

Looking forward to this!

gaby commented 2 months ago

@Xuanwo Any updates on your PR? It has been stale for a few months now