public final class MessagingServiceUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Set<co.cask.cdap.proto.id.TopicId> |
getSystemTopics(CConfiguration cConf,
boolean ignoreInvalidTopic)
Returns a set of system
TopicId as configured by the Constants.MessagingSystem#SYSTEM_TOPICS
property. |
public static Set<co.cask.cdap.proto.id.TopicId> getSystemTopics(CConfiguration cConf, boolean ignoreInvalidTopic)
TopicId as configured by the Constants.MessagingSystem#SYSTEM_TOPICS
property.cConf - the configuration to get the system topicsignoreInvalidTopic - if true, invalid topics will be ignored; otherwise exception will be raisedTopicId.IllegalArgumentException - if ignoreInvalidTopic is true and there is invalid topic being
configuredCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.