{mapping, "event_exchange.vhost", "rabbitmq_event_exchange.vhost",
 [{datatype, string}]}.

{translation, "rabbitmq_event_exchange.vhost",
fun(Conf) ->
    list_to_binary(cuttlefish:conf_get("event_exchange.vhost", Conf))
end}.

{mapping, "event_exchange.protocol", "rabbitmq_event_exchange.protocol", [
    {datatype, {enum, [amqp_0_9_1, amqp_1_0]}}
]}.
