Quantcast
Browsing all 86 articles
Browse latest View live

how to load JSON into hive table?

i have a python code with consumes messages from Kafka topic. I want to store these messages into hive table.import sslfrom kafka import KafkaConsumer, TopicPartitionfrom pyhive import...

View Article


How to close the kafka consumer in python at x min?

I am writing a kafka message to a file in python and want to close the consumer at x time.consumer = KafkaConsumer(bootstrap_servers='xxx:xx', group_id=mygroupid, security_protocol='SSL',...

View Article


Closure call with mismatched arguments: function 'TasksList.build...'

Hello I'm getting this error when I tried to run the app and its says that Closure call with mismatched arguments: function 'TasksList.build...'Since this is my first time using the provider, i don't...

View Article

Messages in Virtual Topic not consumed by consumer queue

I am trying to use a queue in activemq to dequeue messages from a virtual topic. I tried sending some messages and it is showing up in the topic under "message enqueued" but it is not able to be...

View Article

Image may be NSFW.
Clik here to view.

Why can't I do consumer setValueDeserializer on spring kafka using kotlin

When trying to implement DefaultKafkaConsumerFactoryCustomizer in kotlin Spring Kafka, the parameter in the setValueDeserializer method is nothing and cannot be customized.method in...

View Article


Django signal doesn't execute a function from my consumer

I have a problem regarding my consumer. or Django signal? I wasn't able to send a message from my group in the web socket by using my Django signal to execute the function from my consumer.I have here...

View Article

Re-consume message from kafka topic

I have an application that listens to a Kafka topic and reads 1 message from it in 1 thread. After reading a message, there is a certain logic, during which there are two options - everything is...

View Article

JMS message consuming after functionality completes

After consuming messages from a queue using a MessageListener it's immediately not getting another message from queue. It is waiting until my functionality completes and then another message is coming...

View Article


Consumer isn't working updated after calling notifyListner() in Flutter

I have class which is with a ChangeNotifer. When I'm calling a method in this class i'd like a list view to be updated.Here is the class:class WorkoutProvider with ChangeNotifier{ List<Exercise>...

View Article


How work RetryTopic with other groupId and backOff properties

I'm using spring-kafka and @RetryTopic and I can't understand how this worksfor different groupId-s :For example, the topic TestTopic contains 5 messages and islistened to by 2 consumers - groupId_1...

View Article

Consumer not listen message from retry topic

I use Spring-Kafka 2.7.7 with @RetryableTopic to re-process messages from my two topics, MyTopic1 and MyTopic2, after some time@RetryableTopic( attempts ="3", backoff = @Backoff(delay=1000),...

View Article

Best practice for converting spending to monthly

This is a bit of a specific and esoteric question, but I have survey data where individuals reported on their spending in a timeframe of their choosing: weekly, monthly, multiple times per year, less...

View Article

SpringJMS - How to shutdown a DefaultMessageListenerContainer gracefully so...

DefaultMessageListenerContainer.shutdown or DefaultMessageListenerContainer.destroy is not removing the consumer from the queue.Here is a similar post : SpringJMS - How to Disconnect a...

View Article


RabbitMQ Consume Messages in Batches and Ack them all at once

I have a RabbitMQ queue in which I post thousands of messages. I need a background Service that will:Retrieve the messages in batches of 100 messagesStore those 100 messages in a DatabaseAck all 100...

View Article

Does RabbitMQ keeps an open connection for the consumer?

I am trying to implement a RabbitMQ solution in an environment where all connections have to be started from the secure zone to the less secure zone.The standard RabbitMQ implementation foresees the...

View Article


Match any value from list of strings

I new pact testing, I have a pact consumer test in which a property can have any value from a defined set of string:this.pact .ExpectsToReceive("an event indicating that an order has been created")...

View Article

why webSocket connection failed?

I've been trying to cerate a chat app using Django with webSocket,in console I got this,errorWebSocket connection to 'ws://127.0.0.1:8000/ws/chat/room/' failed:room/:20I'm not using Redis for...

View Article


Springboot RabbitMQ low performance problem

I use rabbitmq as consumer.The procedur send to almost 200 messages per second.Size of message ~4.65KB and also the envorinment of consumers enough capacity. No matter what I do, the performance cannot...

View Article

How to find out which consumer picking the request (Implemented multiple...

We have 3 producers and 3 consumers. While producers are sending messages to the queue the messages are processed by one of the consumers. We are trying to identify which producers are sending the...

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
Browsing all 86 articles
Browse latest View live


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