Implementing a Flume Sink

萝らか妹 提交于 2019-12-08 11:29:43

问题


So, I need to implement my own Flume sink. I went through this link, but my only missing part is, what do I exactly do once I am done with my Java implementation? Compile it into a .class? JAR? and how to I configure Flume to use my custom sink?

Thanks


回答1:


Compile it and package it into a jar. Then put the jar in <apache flume install dir>/lib. Then you can refer to your class with its fully qualified name in a sink definition.



来源:https://stackoverflow.com/questions/21856585/implementing-a-flume-sink

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!