summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorsunil.unnava <sunil.unnava@att.com>2019-05-10 11:21:44 -0400
committersunil.unnava <sunil.unnava@att.com>2019-05-10 11:22:13 -0400
commitdcb1479b85dc4fa43d7e417a05d01ac153b7fd1f (patch)
tree6068acd908b981fa1055b77660211a23821c94a3 /src/main/java/org
parentce07fa373a7f5bb876d5f31d3910baa66fd56fe1 (diff)
clean MR codebase
Issue-ID: DMAAP-1192 Change-Id: I5cc729c9a475cac859510b57542da546e1570c96 Signed-off-by: sunil.unnava <sunil.unnava@att.com>
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java3
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/ConsolePublisher.java2
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/SampleConsumer.java2
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java2
4 files changed, 4 insertions, 5 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java b/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java
index 5c06383..84885d3 100644
--- a/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java
+++ b/src/main/java/org/onap/dmaap/mr/client/MRClientFactory.java
@@ -196,8 +196,7 @@ public class MRClientFactory {
*
* @param hostList
* A comma separated list of hosts to use to connect to MR. You
- * can include port numbers (3904 is the default). For example,
- * "ueb01hydc.it.att.com:8080,ueb02hydc.it.att.com"
+ * can include port numbers (3904 is the default)"
* @param topic
* The topic to consume
* @param consumerGroup
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/ConsolePublisher.java b/src/main/java/org/onap/dmaap/mr/test/clients/ConsolePublisher.java
index 62e4cda..d8b1979 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/ConsolePublisher.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/ConsolePublisher.java
@@ -49,7 +49,7 @@ public class ConsolePublisher
public static void main ( String[] args ) throws IOException //throws IOException, InterruptedException
{
// read the hosts(s) from the command line
- final String hosts = args.length > 0 ? args[0] : "aaa.it.att.com,bbb.it.att.com,ccc.it.att.com";
+ final String hosts = args.length > 0 ? args[0] : "mr1.onap.com,mr2.onap.com,mr3.onap.com";
// read the topic name from the command line
final String topic = args.length > 1 ? args[1] : "TEST-TOPIC";
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/SampleConsumer.java b/src/main/java/org/onap/dmaap/mr/test/clients/SampleConsumer.java
index 1f78be1..eb96780 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/SampleConsumer.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/SampleConsumer.java
@@ -38,7 +38,7 @@ public class SampleConsumer {
log.info("Sample Consumer Class executing");
- final String topic = "com.att.app.dmaap.mr.testingTopic";
+ final String topic = "org.onap.dmaap.mr.testingTopic";
final String url = ( args.length > 1 ? args[1] : "localhost:8181" );
final String group = ( args.length > 2 ? args[2] :"grp" );
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java b/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
index 5f8768c..f857afd 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
@@ -42,7 +42,7 @@ public class SamplePublisher {
// read the topic name from the command line
- final String topic = ( args.length > 1 ? args[1] : "com.att.app.dmaap.mr.testingTopic" );
+ final String topic = ( args.length > 1 ? args[1] : "org.onap.dmaap.mr.testingTopic" );
// set up some batch limits and the compression flag
final int maxBatchSize = 100;