Questions tagged [broker]

389 questions
0
votes
1 answer

Kick or Ban user or client in Mosquitto MQTT

i have a configured Mosquitto MQTT broker... I'd like to kick or ban a user for an amount of time? How can i do this from another subscribed client? Should i do this from the broker? How?
Fabiosoft
  • 1,141
  • 14
  • 32
0
votes
1 answer

ActiveMq subscribed messages Delivered every time I connect with a new client ID

I am creating an iOS app in which I have used mosquito library for Integrating Active MQ. Everything is working fine except,I get all the messages again when I reconnect with new client id. cleanSession flag is set to false; Any help would be…
Sundeep Saluja
  • 1,089
  • 2
  • 14
  • 36
0
votes
1 answer

How could I make partitions of a newly created topic distributed evenly on all brokers?

I set up a Kafka (0.8.1.1) cluster with 5 brokers. And then I created a topic with 16 partitions 2 replica factors on the Kafka cluster. I found that the 16 * 2 partitions distributed on only 3 brokers (11 on broker1, 10 on broker2 and 10 on…
JuliaLi
  • 327
  • 1
  • 5
  • 16
0
votes
1 answer

Error creating application with node.js

I am in the US South Bluemix region. I received the following error when trying to create an application using the "SDK for Node.js" boilerplate: BXNUI2032E: An error occurred when contacting Cloud Foundry to create a resource. Resource:…
0
votes
1 answer

use qpid-proton to send persistent messages to Azure service bus - url parsing error

I'm trying to use python-qpid-proton version 0.9.1 to send a message to a Azure Service Bus queue. The examples in examples/python/messenger/ accept addresses of the form amqps://:@/, and I can successfully send messages to the queue I have on Azure…
Mika
  • 51
  • 6
0
votes
0 answers

An exception occurred while enqueueing a message in the target queue

When I execute the following query on my SQL database: USE DATABASENAME GO SELECT transmission_status, * FROM sys.transmission_queue GO I get the following error message: An exception occurred while enqueueing a message in the target queue.…
SteveSup1
  • 1
  • 1
0
votes
1 answer

MQTT Broker as both Client and Broker

I have a regular cloud server set up, I have a mobile app talking to the server via HTTP requests. I also have a Wifi device that I need to send messages and I want to do that over MQTT. When some change happens on the mobile app, I want the cloud…
Craigfoo
  • 313
  • 2
  • 12
0
votes
0 answers

HiveMQ Websockets JavaScript

I am trying to recreate the web sockets enabled application using the tutorials available at http://www.hivemq.com/build-javascript-mqtt-web-application/ with angular and bootstrap. Here is my sample code: client.onMessageArrived = function…
bp581
  • 859
  • 1
  • 16
  • 47
0
votes
1 answer

Message brokers - "message has been read" acknowledgment solution

I am implementing a service that dispatches messages to clients using an arbitrary message broker. A single user may have multiple clients and the message will be dispatched to each one of them. Once the user has read the message on one client, I…
Boon
  • 1,073
  • 1
  • 16
  • 42
0
votes
1 answer

Kafka: Does log.retention.bytes apply only to partition leader or also replicas?

Does the byte retention policy apply to replica partitions or leader partitions or both? In a multi-node cluster, with all brokers configured configured with different retention policies, it seems obvious that the partitions for which a given broker…
David Corley
  • 710
  • 5
  • 17
0
votes
0 answers

Using the mosquitto broker installed in google cloud 's instance

I have installed mosquitto broker in a Ubuntu VM Instance of Google Cloud . I can also see the broker running on port 1883 of the VM . The external IP of the VM is 130.211.173.165 . Now when i try to create a client for this broker by the command …
0
votes
1 answer

Regarding MQTT PubAck with QoS level one

In this tutorial in the section of message options By default, a new message instance is set to "At Least Once", a Quality of Service (QoS) of 1, which means the sender will deliver the message at least once and, if there's no acknowledgement of…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
0
votes
2 answers

How to stop receiving LWT retained message?

For testing, I have created a client with clean sessin = false and setWill(WILL_TOPIC, WILL_MSG.getBytes(), 1, true); and ran the App. Later, i set setWill(WILL_TOPIC, WILL_MSG.getBytes(), 1, false); when i run the App, i receive the previously…
Amrmsmb
  • 1
  • 27
  • 104
  • 226
0
votes
5 answers

MQL4 Trade Is Disabled

I've been using MQL4 for a couple of days now, but recently I've been getting the error message: (133) trade is disabled when performing an order. From reading the different forums, I understand the common belief is that I have to talk to my…
Amir Keren
  • 201
  • 2
  • 7
0
votes
1 answer

ZeroMQ broker direct message

I'm developing a distributed application using ZeroMQ. I want to implement a broker to pass messages in a centralized host. Imagine serveral clients requesting something, to a given server. The example in the ZeroMQ guide, several clients, request…
nachovall
  • 485
  • 1
  • 5
  • 18