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

Synergy Dave2 months 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 Tananaev2 months ago

Where do you see this error?

Synergy Dave2 months 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 Tananaev2 months ago
Synergy Dave2 months ago

Any chance to see other types supported?

Anton Tananaev2 months ago

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

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