flink 到flume avro
时间: 2023-09-11 11:10:02 浏览: 160
flink-avro-1.10.0-API文档-中文版.zip
在flink到flume avro的过程中,可以使用AvroSource来接收Avro事件。通过调用AvroSource的append方法,可以将单条或批量的AvroFlumeEvent发送到flume。AvroSource是通过定义AvroSourceProtocol来实现的,该协议在flume-ng-sdk工程的src/main/avro目录下由flume.avdl文件定义。Avro IDL是一种用于定义协议的语言,avro-maven-plugin约定将avdl文件放在该特定目录下。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Flume的Avro Sink和Avro Source研究之一: Avro Source](https://blog.csdn.net/weixin_28903391/article/details/114234983)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文