Я хочу взять запись, созданную десериализатором AVRO, и отправить ее в ElasticSearch. Я понимаю, что мне нужно написать собственный код, чтобы сделать это.
Используя параметр LITERAL, у меня есть схема JSON, которая является первым шагом в использовании GenericRecord. Однако, просматривая AVRO Java API, я не вижу возможности использовать GenericRecord для одной записи. Во всех примерах используется DataFileReader.
Короче говоря, я не могу получить поля из события Flume.
Кто-нибудь делал это раньше? ТИА.