commit | 8af046d47bc8e36eb3012b54431ce738a35ef8db | [log] [tgz] |
---|---|---|
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | Thu Aug 16 16:32:22 2018 +0530 |
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | Thu Aug 16 16:32:22 2018 +0530 |
tree | bc40a789551e3c06c3c9f1f2290bdf4746ed7d33 | |
parent | fcd309526b333afbe50ca83a7dd056666809a282 [diff] |
Sonar major issues This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSM32hFUzlqc5es&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java Line No-L24 L29 L37 L40 L47 L50 Change-Id: I1ce6b3d5024c262e89db5c487a47ee006fd6eb30 Issue-ID: DMAAP-608 Signed-off-by: Surendra Reddy Katam <SK00524980@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