Rabbitmq: is it possible to publish to exchange of type fanout ?

Synergy Dave4 days ago

Hello,
I've configured traccar to forward to rabbitmq exchange of type fanout, I'm receiving this error:
inequivalent arg 'type' for exchange 'MYEXCHANGE' in vhost '/': received 'topic' but current is 'fanout',

I'm using this type of exhange because I've many consumers of traccar positions.

Anton Tananaev4 days ago

Where do you see this error?

Synergy Dave4 days ago

in /opt/traccar/logs/tracker-server.log

I've this config:

    <entry key='forward.enable'>true</entry>
    <entry key='forward.retry.enable'>true</entry>
    <entry key='forward.type'>amqp</entry>
    <entry key='forward.url'>amqp://admin:pass@10.10.1.35:5672</entry>
    <entry key='forward.exchange'>MYEXCHANGE</entry>

I haven't set the

<entry key='forward.topic'>topic_name</entry>
Anton Tananaev4 days ago
Synergy Dave4 days ago

Any chance to see other types supported?

Anton Tananaev4 days ago

Of course there's a chance. Maybe ask here:

https://github.com/traccar/traccar/pull/5136