-
Notifications
You must be signed in to change notification settings - Fork 38
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
Proposal to combine with es loader #141
Comments
I think the approach here would be to make a snowplow-loader-common library or framework. |
Interesting idea! 👍 |
Would be possible to provide the implementation for snowplow/snowplow-elasticsearch-loader#114 |
@BenFradet any idea if I want to pick this up how am I suppose to proceed? |
I think you would want a core module with everything that is common to both the s3 and es loaders. And then have submodules for each. Does that make sense? |
Actually, I was thinking of something totally opposite. This may look an overkill, but we can go forward with a pluggable architecture, something like fluentd(https://www.fluentd.org/assets/img/architecture/pluggable.png). We have implementations like snowplow-elasticsearch, which is responsible to both loading in and out of elasticsearch(https://github.com/fluent/fluent-plugin-kafka). Similarly for Kafka, kinesis, s3. But your idea is also very good. I think if we can keep the application server within the core, it will give a similar result. |
Makes a lot of sense 👍 |
Proposing to enhance the loader architecture in a more modular fashion. We have a core module at https://github.com/snowplow/snowplow-elasticsearch-loader/tree/develop/core/src. Maybe we can combine the overlapping abstract loaders to a core module, which can be distributed as compiled jar.
This will help in simplifying the loader code, will allow implementing/enhancing loader easier. As a java developer would be amazing for me if I can start with core jar and create a new loader extending StreamLoader directly.
Please give it a thought. Would be nice if we can publish the https://github.com/snowplow/snowplow-elasticsearch-loader/tree/develop/core as a jar in bintray also.
The text was updated successfully, but these errors were encountered: