Quantcast
Channel: Active questions tagged consumer - Stack Overflow
Browsing all 87 articles
Browse latest View live
↧

having trouble with implementing producer consumer problem

I am trying to implement the consumer producer problem, butI am running in a problem, I think I get stuck in an infinite loop, but I have no idea where.Here is my code:#define MAX_NUM 30 // borne sup...

View Article


RabbitMQ consumer gets doubled after sometime

We are using RabbitMQ v3.7.5, AMQP 0.9.1, Erlang 20.1.7.1, PHP 7, centos 7Our consumers are written using php-amqplib v2.9.1We start our consumers by calling a URL using curl. The consumers work as...

View Article


Need way to remove Consume throughput received logger

I am using logstash-pulsar-input plugin in which i can see jar org.apache.pulsar:pulsar-client, 2.11.0 being used and while checking on that found ConsumerStatsRecorderImpl class is printing logs of...

View Article

Image may be NSFW.
Clik here to view.

consumer.How to specify partition to read? [kafka]

I am learning Kafka and I want to know how to specify the partition when I consume messages from a topic.I have found several pictures like this:It means that a consumer can consume messages from...

View Article

Is it possible to consume Kafka or other publish-subscribe topic by Next.js...

There are guides/how-to's on how to publish something from Next.js to Kafka available on the Internet. I think it should mean that it is also possible to publish to other message brokers as well.Yet I...

View Article


Image may be NSFW.
Clik here to view.

Flutter Dialog unintentionaly triggers recreating of layout behind

I have an issue with my FLutter code that I am not able to solve neither to understand why this is happening.First the code in questoin:import 'dart:io';import 'dart:ui';import...

View Article

Consumers in Flutter

why there is need of 6 consumers and not 5 or 7 consumers in flutter state managementmultiple consumers but don't understood the need of 6 consumers.We can use consumer,consumer2,consumer3,consumer4,...

View Article

How to stop or timeout a consumer from consuming after specific time in...

Here is a hello world example on rabbitmq docs about consumer using php and php-amqplib package:<?phprequire_once __DIR__ . '/vendor/autoload.php';use...

View Article


How to pause KafkaJS consumer and retry after sometime

I'm using KafkaJS ( https://kafka.js.org ) to connect to a Kafka cluster. My consumers are responsible for processing tasks which can fail at some time and succeed after waiting for a duration (for...

View Article


Producer consumer deadlocking in golang

These are my global variables. I do initialize taskCond in my main function.var ( doneFlag bool taskMutex sync.Mutex taskCond *sync.Cond)My producer code looks like this -func producer(decoder...

View Article

Clarification on behavior of QoS 1 and 2 if subscriber is unavailable

The general flow of MQTT is: producer ---> MQTT Broker ---> consumer.Assume that the MQTT Broker is always up and running but consumer is temporarily unavailable.If a producer sends a message to...

View Article

RabbitMQ Consumer goes down

Using rabbitMQ 3.8.2 and erlang 22.2.7, I tried to upload 3mb video file as base64 format through API, now the consumer is getting lost, queue is in ready stage always because of this further i can't...

View Article

Consumer failed to start in 60000 milliseconds; does the task executor have...

logger error: Consumer failed to start in 60000 milliseconds; does the task executor have enough threads to support the container concurrency?How can I resolve it?Thanks a lot.I attempt to change my...

View Article


Error: "Expected a method, getter, setter or operator declaration"

I am getting the error: "Expected a method, getter, setter or operator declaration" when I am implementing the below code.It includes a provider, consumer and StreamBuilder. Is there something I am...

View Article

Consumer failed to start in 60000 milliseconds; does the task executor have...

logger error: Consumer failed to start in 60000 milliseconds; does the task executor have enough threads to support the container concurrency?How can I resolve it?Thanks a lot.I attempt to change my...

View Article


Problem with Kafka customer integration test with TestContainer

I have a problem while testing the integration of a Kafka consumer with kafkaContainer.In practice, when I send the message with the template, the consumer is not invoked.Can you help me?Here is some...

View Article

KeyError: 'type' in a websocket_receive

I have two different apps in my Django project. While the first one (the one with the error raising consumers.py) works fine on its own, the second one keeps raising this:\chat\consumers.py", line 29,...

View Article


How do I implement this properly? A question that involves Java generics,...

I'm trying to implement a sort-of Builder pattern that takes in raw data, and depending on what needs to be built, gets a predefined schema with a set of Consumers, specifically targeted for what needs...

View Article

get results from kafka for a specific period of time

Here is my code, that uses kafka-python.now = datetime.now()month_ago = now - relativedelta(month=1)topic = 'some_topic_name'consumer = KafkaConsumer(topic, bootstrap_servers=PROD_KAFKA_SERVER,...

View Article

Flink Kafka GroupId seems to be ignored when using KafkaSource

I'm new with Apache Flink. I've tried to get Events from Apache Kafka using the KafkaSource from Flink. So far so good, it seems to work fine. After restarting the flink task, I've got the same...

View Article
Browsing all 87 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>