lib/rabbit_feed/producer.rb in rabbit_feed-2.3.6 vs lib/rabbit_feed/producer.rb in rabbit_feed-2.3.7
- old
+ new
@@ -29,10 +29,10 @@
'schema_version' => Event::SCHEMA_VERSION,
}
end
def routing_key event_name
- "#{RabbitFeed.environment}.#{RabbitFeed.configuration.application}.#{event_name}"
+ "#{RabbitFeed.environment}#{RabbitFeed.configuration.route_prefix_extension}.#{RabbitFeed.configuration.application}.#{event_name}"
end
def options event_name, timestamp
{
routing_key: (routing_key event_name),