NOTIFICATION_HOOK_CONSUMER_TOPIC_NAMES("atlas.notification.hook.consumer.topic.names","ATLAS_HOOK"),// a comma separated list of topic names
NOTIFICATION_ENTITIES_CONSUMER_TOPIC_NAMES("atlas.notification.entities.consumer.topic.names","ATLAS_ENTITIES"),// a comma separated list of topic names
LOG.warn("consumers count {} is fewer than number of topics {}. Creating {} consumers, so that consumer count is equal to number of topics.",numConsumers,topics.length,topics.length);
numConsumers=topics.length;
}elseif(numConsumers>topics.length){
LOG.warn("consumers count {} is higher than number of topics {}. Creating {} consumers, so that consumer count is equal to number of topics",numConsumers,topics.length,topics.length);
@@ -150,7 +151,7 @@ public class NotificationHookConsumerTest {
...
@@ -150,7 +151,7 @@ public class NotificationHookConsumerTest {
when(atlasEntityStore.createOrUpdate(any(EntityStream.class),anyBoolean())).thenThrow(newRuntimeException("Simulating exception in processing message"));
when(atlasEntityStore.createOrUpdate(any(EntityStream.class),anyBoolean())).thenThrow(newRuntimeException("Simulating exception in processing message"));