Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attribute nameAttribute DescriptionExample
setHostPart

The host and port of the DMaaP server in the format <host:port>. This method takes a collection of strings, check example.


Code Block
languagejava
themeRDark
titleExample of HostPart
linenumberstrue
final Collection<String> hosts = new ArrayList<>();
hosts.add("message-router.onap:3904");


setTopicThe topic name to consume from"AAI-EVENT"
setConsumerGroupThe consumer group to consume fromA name that uniquely identifies the subscriber's group"onap-cps"
setConsumerIdThe consumer ID of the clientWithin the subscriber's group, a name that uniquely identifies the subscriber's process"cps-ncmp"
setTimeoutMsTime in ms to wait for messages on the server before returning10000
setLimitMaximum number of messages that is returned per fetch1000
setFilterA customizable message filter, or null if no filtering is requirednull
setApiKey_usernameThe username of the client applicationnull
setApiSecret_passwordThe password for the usernamenull

...