-
Notifications
You must be signed in to change notification settings - Fork 20
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
Sink/Source Usage #11
Comments
Hi. This plugin helps you transfer data from a flume agent to the other flume agent using Redis. Here is a sample structure with this plugin.
As I wrote in documentation, You can build the plugin package using In example configuration, a flume agent receives data from socket (netcat source), and send to redis using this plugin. Another flume agent receives data from redis using redis source and print data to console. I hope to help you understand about this plugin. If you have another question, comment to this thread anytime. |
Chwin, Thanks for your reply. Sorry I think I wasn’t clear in my question. I am interested in how the data feed looks like when the flume source ingests that data as in the NetCat Source. does the data have to be in CSV format, if not, then what format. Is there a serializer to split the event body into values with assigned keys ? If this is still no clear, please notify me first, and I will put an example in. Thanks agian! |
Hi. Currently, this plugin does not support custom format of data. The plugin supports only raw string data now. Flume has a interface called EventSerializer for dealing with this issue. I will add support for this interface. (or Could you add this feature and send a pull request?) |
I am willing to work on the EventSerializer. It might take me a while though to implement a functional and configurable serializer as I am new to programming and development. Thanks again. |
Hi @Wpengcheng, example configuration files don't affect unit tests. The unit tests uses Redis on localhost (see this). |
Can elaborate on how to use the the Redis Sink and the Redis source. Am I suppose to modify the config properties file, or the java file and then package with mvn ? Thanks!
The text was updated successfully, but these errors were encountered: