0
例如:RabbitMQ Shovel如何配置为用当前时间覆盖timestamp属性?
{myshovel, [
{sources, ...}
, {destinations, ...}
, {queue, <<>>}
, {ack_mode, on_confirm}
, {publish_properties, [
{delivery_mode, 2}
, {timestamp, now} % this is the line I need to understand how to write
]}
, {publish_fields, [{exchange, <<"">>}, {routing_key, <<"">>}]}
, {reconnect_delay, 5}
]}
我很好奇如何编写的方式publish_properties
使RabbitMQ的铲覆盖与当前时间的时间戳(当铲接收消息并铲它放到目标队列)。
非常有帮助,我有点想法,但想确保。目前,我正在通过广域网使用铲子,并试图锁定点之间的延迟时间并给出相应的指标。这将是非常有用的。 – dlamotte 2013-04-23 13:13:53