Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Topic aliasing on messages sent out by Mosquitto

Hi Vera,

That's an interesting idea - and easily achieved with user-properties.

I've just pushed a version to the develop branch which just limits topic to a maximum count, set to 10 by default.

Options max_topic_alias_broker and bridge_max_topic_alias are the ones to look at if you want to test it out.

Cheers,

Roger

On Mon, 22 Mar 2021, 11:50 Vera Clemens, <mail@xxxxxxxxxxxxxxx> wrote:
Hi,

> Vera, would first come first serve work for your needs?

yes.

I wonder whether the subscribing client shouldn't also have a say in
what topics it wants to be aliased in incoming messages. For example,
the client could set a "Topic Aliasing Requested" flag in the SUBSCRIBE
message and then the broker could do FCFS just for those topics. I know
this is not part of the spec so this is just a thought.

Best regards

Vera

On Fri, 2021-03-19 at 23:05 +0000, Roger Light wrote:
> Hi Wiebe,
>
> Starting with a simple first come first serve basis is nice and easy
> of course, and will provide benefit at least in some cases. We can
> then move to something more in depth in the future if needed.
>
> > The broker can't apply corrections if the frequent topics change.
>
> That's not the case actually, you can change an alias at any time,
> just not remove it.
>
> Vera, would first come first serve work for your needs?
>
> Regards,
>
> Roger
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/mosquitto-dev

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/mosquitto-dev

Back to the top