commit | 6437317480713c7d5d9295d1509abe39a0dbfe19 | [log] [tgz] |
---|---|---|
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | Tue Dec 05 13:46:11 2017 +0530 |
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | Tue Dec 05 13:46:11 2017 +0530 |
tree | f0083b42c31e22677d7e6219a76a64b31146a71f | |
parent | 78d09a8c2ed502b15725d83c69179ac97d62b24e [diff] |
Critical For Use the original value instead Checked non zero Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#resolved=false|assignees=soumendu|severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-146 Change-Id: I58a059b919984d9b430878b1737a5a792e8f6bb0 Issue-ID: DMAAP-177 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
To configure a MR Log4J appender the following parameters are available:
(R) Topic [String] - The topic which you wish to publish your log messages to (R) Partition [String]- The partition within the Topic that you wish you publish your log messages to (R) Hosts [String]- A comma separated string containing the MR API server nodes you wish to connect to (O) MaxBatchSize [Integer] - The maximum size of the batch of log messages. When the batch grows larger than this, the messages are flushed to the topic/partition. (O) MaxAgeMs [Integer] - The maximum age in milliseconds of the batch. When the batch age is older than this, the messages are flushed to the topic/partition. (O) Compress [Boolean] - Indicates whether you would like your messages compressed or not.
An example can be found in ./src/main/resources/log4j.xml