<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I think so, I've never created the address (nor the queue or the topic) except for the root topic called "gw".<br>
The address is a result of an AMQP 1.0 connection from ditto to enmasse.<br>
<div class="moz-signature">
<div class="moz-signature">
<table>
<tbody>
<tr>
<td><br>
</td>
<td><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="moz-cite-prefix">On 7/30/19 5:37 PM, Rob Godfrey wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAA2jDtWKjogw+iHTMwi0DQMzCH2KB=V5rLsXXOVzFrng3vBY2g@mail.gmail.com">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 30 Jul 2019 at 13:06, Bob Claerhout <<a href="mailto:bob.claerhout@aloxy.io" moz-do-not-send="true">bob.claerhout@aloxy.io</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">In eclipse-ditto I'm creating a connection which publishes the data to that address.<br>
So it should probably not create the queue and just publish to that address instead<font size="+1">.</font></div>
</blockquote>
<div><br>
</div>
<div>Yeah - are you saying that ditto is doing this (creating the queue)?</div>
<div><br>
</div>
<div>-- Rob</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><br>
<br>
On 7/30/19 11:52 AM, Rob Godfrey wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div>So, I guess the question is, what is creating the queue with the specific device id in it (and which presumably no-one is consuming from)?</div>
<div><br>
</div>
<div>I would imagine that simply creating the topic does not create an queues... so, can you tell at what point this queue is being created, and by which process?</div>
<div><br>
</div>
<div>-- Rob</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 30 Jul 2019 at 11:33, Bob Claerhout <<a href="mailto:bob.claerhout@aloxy.io" target="_blank" moz-do-not-send="true">bob.claerhout@aloxy.io</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><font size="-1">Rob,<br>
<br>
Sorry, you're correct. The address is in fact a topic:<br>
<img src="cid:part3.1F0DDCD6.31A840F5@aloxy.io" alt="" class=""><br>
<br>
Best regars,<br>
Bob<br>
<br>
</font>On 7/30/19 11:28 AM, Rob Godfrey wrote:<br>
<blockquote type="cite">
<div dir="ltr">I'm a little confused - this may just be imprecise use of language, but you say: "Eclipse-ditto is publishing messages to a *queue* called "gw/tenant/tenant:device" ", and then you talk about the backend service subscribing with a (topic) wildcard.
<div><br>
</div>
<div>If there is a queue then it will receive all messages sent to that (precise) address.  </div>
<div><br>
</div>
<div>A consumer subscribing to a wildcard is essentially setting up a second queue which will receive all messages that match the pattern (but will not receive messages that are already in the specific queue, prior to the subscription).</div>
<div><br>
</div>
<div>Is the address supposed to represent a queue (with the associated guaranteed delivery semantics) or a topic (in which case it is expected that messages sent when there are no consumers will be discarded)?</div>
<div><br>
</div>
<div>-- Rob</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 30 Jul 2019 at 11:18, Bob Claerhout <<a href="mailto:bob.claerhout@aloxy.io" target="_blank" moz-do-not-send="true">bob.claerhout@aloxy.io</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><font size="-1">Hi,<br>
<br>
While setting up prometheus to monitor our installation, I noticed the "artemis_message_count" on a specific address is growing while I am subscribed to this address using a wildcard.<br>
To be more specific:<br>
Eclipse-ditto is publishing messages to a queue called "gw/tenant/tenant:device". A backend service (python) is subscribed to "gw/#".<br>
In prometheus, I'm getting following artemis_message_counts:</font><br>
<img src="cid:part5.C8680524.E8EF374A@aloxy.io" alt="" class=""><br>
<br>
<div class="gmail-m_3302742300088059084gmail-m_-1845386925811578373gmail-m_8627458255062377794moz-signature">
When I look at the metric "artemis_consumer_count", following records are shown:<br>
<img src="cid:part6.B125E2D6.606848BC@aloxy.io" alt="" class=""><br>
<br>
Any idea on how to prevent the queue from building up?<br>
<br>
Best regards<br>
<div class="gmail-m_3302742300088059084gmail-m_-1845386925811578373gmail-m_8627458255062377794moz-signature">
<table>
<tbody>
<tr>
<td><img src="cid:part7.39528678.D0D58938@aloxy.io" alt="" class=""></td>
<td><b>Bob Claerhout</b><br>
Software developer<br>
M +32 479 34 84 92<br>
The Beacon, Sint-Pietersvliet 7, 2000<br>
Antwerp<br>
<a href="mailto:bob.claerhout@aloxy.io" target="_blank" moz-do-not-send="true">bob.claerhout@aloxy.io</a> |
<a href="http://www.aloxy.io" target="_blank" moz-do-not-send="true">www.aloxy.io</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
_______________________________________________<br>
enmasse mailing list<br>
<a href="mailto:enmasse@redhat.com" target="_blank" moz-do-not-send="true">enmasse@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/enmasse" rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.redhat.com/mailman/listinfo/enmasse</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_3302742300088059084gmail-m_-1845386925811578373gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">_________________</span><br style="color:rgb(136,136,136);font-size:12.8px">
<br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Red Hat GmbH, </span><a href="http://www.de.redhat.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank" moz-do-not-send="true">www.de.redhat.com</a><span style="color:rgb(136,136,136);font-size:12.8px">,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Managing Directors: ,Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander</span><br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_3302742300088059084gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">_________________</span><br style="color:rgb(136,136,136);font-size:12.8px">
<br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Red Hat GmbH, </span><a href="http://www.de.redhat.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank" moz-do-not-send="true">www.de.redhat.com</a><span style="color:rgb(136,136,136);font-size:12.8px">,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Managing Directors: ,Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander</span><br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">______________________________</span><span style="color:rgb(136,136,136);font-size:12.8px">_________________</span><br style="color:rgb(136,136,136);font-size:12.8px">
<br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Red Hat GmbH, </span><a href="http://www.de.redhat.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank" moz-do-not-send="true">www.de.redhat.com</a><span style="color:rgb(136,136,136);font-size:12.8px">,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,</span><br style="color:rgb(136,136,136);font-size:12.8px">
<span style="color:rgb(136,136,136);font-size:12.8px">Managing Directors: ,Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander</span><br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>