Mike Percy created FLUME-1561:
---------------------------------

             Summary: Parameterize file channel encryption KeyStoreProvider
                 Key: FLUME-1561
                 URL: https://issues.apache.org/jira/browse/FLUME-1561
             Project: Flume
          Issue Type: Bug
            Reporter: Mike Percy
             Fix For: v1.3.0


With the encryption capability that went into the file channel, we have some 
properties that could be more encapsulated, i.e.

{quote}
agent.channels.ch-0.encryption.keyProvider = JCEKSFILE
agent.channels.ch-0.encryption.keyStoreFile = /etc/flume-ng/conf/foo2.keystore
agent.channels.ch-0.encryption.keyStorePasswordFile = 
/etc/flume-ng/conf/foo.passwd
{quote}

It would be more consistent with other components to specify the keyProvider 
more like this:

{quote}
agent.channels.ch-0.encryption.keyProvider = blah
agent.channels.ch-0.encryption.keyProvider.blah.type = JCEKSFILE
agent.channels.ch-0.encryption.keyProvider.blah.keyStoreFile = 
/etc/flume-ng/conf/foo2.keystore
agent.channels.ch-0.encryption.keyProvider.blah.keyStorePasswordFile = 
/etc/flume-ng/conf/foo.passwd
{quote}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to