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

Synergy Davea month 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 Tananaeva month ago

Where do you see this error?

Synergy Davea month 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 Tananaeva month ago
Synergy Davea month ago

Any chance to see other types supported?

Anton Tananaeva month ago

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

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