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