final CommandSubscription cmdSub = CommandSubscription.fromTopic(subscription.topicName(), authenticatedDevice); if (cmdSub == null) { span.log(String.format("ignoring unsupported topic filter [%s]", subscription.topicName()));
final CommandSubscription cmdSub = CommandSubscription.fromTopic(topic, authenticatedDevice); if (cmdSub == null) { final Map<String, Object> items = new HashMap<>(2);