[ 
https://issues.apache.org/jira/browse/FLUME-3336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561792#comment-17561792
 ] 

Christopher White edited comment on FLUME-3336 at 7/2/22 9:15 PM:
------------------------------------------------------------------

Similar / Duplicate of FLUME-2853

Patch available on that issue too


was (Author: chriswhite199):
Similar / Duplicate of FLUME-2853

> Add support for configuring with YAML
> -------------------------------------
>
>                 Key: FLUME-3336
>                 URL: https://issues.apache.org/jira/browse/FLUME-3336
>             Project: Flume
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 1.9.0
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>            Priority: Major
>
> As part of FLUME-3335 the configuration classes need to be split so that more 
> configuration options are supported and polling is separated from parsing the 
> configuration. As a consequence of this split it is straightforward to add 
> support for JSON configurations. The only hitch is that the property syntax 
> has some peculiarities that don't map to YAML very well and since properties 
> are so ingrained into the Flume configuration mechanism the YAML basically 
> has to be translated to the same Map structure as the properties:
>  # JSON doesn't allow a property to be a parent of other nodes and also have 
> a value.
>  # It doesn't make sense to have sources, channels, and sinks elements that 
> name the various entities in the configuration since they are being directly 
> declared in the YAML,
> However, the JSON syntax will be much easier to follow then the existing 
> property syntax.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to