vector icon indicating copy to clipboard operation
vector copied to clipboard

add support for sftp source and sink

Open clojurians-org opened this issue 5 years ago • 12 comments

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

clojurians-org avatar Aug 08 '20 08:08 clojurians-org

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

gaby avatar Apr 03 '23 23:04 gaby

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.

spencergilbert avatar Apr 04 '23 00:04 spencergilbert

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

gaby avatar Apr 04 '23 00:04 gaby

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

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

gaby avatar May 04 '23 23:05 gaby

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

gaby avatar May 09 '23 12:05 gaby

Maybe we can start by adding sftp as a sink.

Xuanwo avatar May 19 '23 05:05 Xuanwo

@Xuanwo That would be awesome!

gaby avatar May 19 '23 12:05 gaby

Has there been any updates on this? 🤔

gaby avatar Jun 29 '23 00:06 gaby

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).

jszwedko avatar Jun 29 '23 21:06 jszwedko

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.

Xuanwo avatar Jul 25 '23 07:07 Xuanwo

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 avatar Jul 25 '23 23:07 gaby

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

gaby avatar Jun 15 '24 00:06 gaby