'How to use Kafka Connect to source .csv files from S3 bucket?

From what I understand, S3 source connector only works with objects that were uploaded with S3 sink connector. I also know there's a spooldir connector to read .csv files from a local directory.

But what do I use to read .csv files from an S3 bucket? Or is this impractical?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source