RabbitMQ

Spring, RabbitMQ, Sleuth and Zipkin: No tracings available in Zipkin

微笑、不失礼 提交于 2021-02-11 14:43:04
问题 Im trying to implement distributed tracing using Spring, RabbitMQ, Sleuth and Zipkin. So I added the dependencies: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-zipkin</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>

Spring, RabbitMQ, Sleuth and Zipkin: No tracings available in Zipkin

梦想与她 提交于 2021-02-11 14:42:55
问题 Im trying to implement distributed tracing using Spring, RabbitMQ, Sleuth and Zipkin. So I added the dependencies: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-sleuth</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-sleuth-zipkin</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>

Symfony messenger and mailer : how to add a binding_key?

╄→尐↘猪︶ㄣ 提交于 2021-02-10 20:21:54
问题 I have a running Symfony 4.4 project with messenger and rabbitMQ. I have an async transport with 2 queues. transports: # https://symfony.com/doc/current/messenger.html#transport-configuration async: dsn: '%env(MESSENGER_TRANSPORT_DSN)%' options: exchange: name: myexchange type: direct queues: email: binding_keys: - email extranet: binding_keys: - extranet # failed: 'doctrine://default?queue_name=failed' # sync: 'sync://' routing: # Route your messages to the transports 'App\Message

Is there a way to print configuration parameters?

ぐ巨炮叔叔 提交于 2021-02-10 18:33:24
问题 I have configured two parameters. inet_dist_listen_min = X inet_dist_listen_max = Y in the config file and I copied it the config file in the place it should be. Is there a way to know that either RabbitMQ or ERL receive the right parameter? Thanks. Note: Eventually I did it using a sniffer (saw the TCP port in the packet) and knew it received it, but is there a quicker way? 回答1: for rabbitmq rabbitmqctl environment for erlang env params rabbitmqctl eval 'application:get_all_env(kernel).' and

Is there a way to print configuration parameters?

冷暖自知 提交于 2021-02-10 18:28:10
问题 I have configured two parameters. inet_dist_listen_min = X inet_dist_listen_max = Y in the config file and I copied it the config file in the place it should be. Is there a way to know that either RabbitMQ or ERL receive the right parameter? Thanks. Note: Eventually I did it using a sniffer (saw the TCP port in the packet) and knew it received it, but is there a quicker way? 回答1: for rabbitmq rabbitmqctl environment for erlang env params rabbitmqctl eval 'application:get_all_env(kernel).' and

Why does my MassTransit Fault Consumer not get called?

时光总嘲笑我的痴心妄想 提交于 2021-02-10 14:39:42
问题 I am using MassTransit 7.1.4.0 together with RabbitMQ 3.8.7. I have a consumer which simply throws an exception, and I have a fault consumer which Console.WriteLine the fact that a fault occurred. The fault consumer is not called. I also tried using a fault consumer definition. Also that does not work. Below is the entire program. using System; using System.Threading.Tasks; using GreenPipes; using MassTransit; using MassTransit.ConsumeConfigurators; using MassTransit.Definition; using

Why does my MassTransit Fault Consumer not get called?

孤街醉人 提交于 2021-02-10 14:38:01
问题 I am using MassTransit 7.1.4.0 together with RabbitMQ 3.8.7. I have a consumer which simply throws an exception, and I have a fault consumer which Console.WriteLine the fact that a fault occurred. The fault consumer is not called. I also tried using a fault consumer definition. Also that does not work. Below is the entire program. using System; using System.Threading.Tasks; using GreenPipes; using MassTransit; using MassTransit.ConsumeConfigurators; using MassTransit.Definition; using

Failed to create ConnectionFactory object

妖精的绣舞 提交于 2021-02-10 10:52:09
问题 I'm building an android chat app using rabbitmq and the project builds without any issue. However, I'm having an issue in creating ConnectionFactory object. It gives me the following error E/AndroidRuntime: FATAL EXCEPTION: main Process: com.zabu.kyimoecho.mosaic, PID: 9002 java.lang.NoClassDefFoundError: com.rabbitmq.client.impl.nio.-$$Lambda$NioParams$NrSUEb8m8wLfH2ztzTBNKyBN8fA at com.rabbitmq.client.impl.nio.NioParams.<clinit>(NioParams.java:37) at com.rabbitmq.client.ConnectionFactory.

Celery tasks registering in multiple queues

廉价感情. 提交于 2021-02-10 05:09:33
问题 I am using celery in Django (1.9) with RabbitMQ server. I have four different queues and I am registering a task in one of these four queues. The issue is all my tasks are registered in all four queue. Like I have a task named add and have four queues A, B, C and D. Ideally task should be registered in only A queue (As I registered) But It is showing in all four queues. could not rectify what is the actual issue. Please help. 来源: https://stackoverflow.com/questions/50203203/celery-tasks

Celery tasks registering in multiple queues

女生的网名这么多〃 提交于 2021-02-10 05:05:49
问题 I am using celery in Django (1.9) with RabbitMQ server. I have four different queues and I am registering a task in one of these four queues. The issue is all my tasks are registered in all four queue. Like I have a task named add and have four queues A, B, C and D. Ideally task should be registered in only A queue (As I registered) But It is showing in all four queues. could not rectify what is the actual issue. Please help. 来源: https://stackoverflow.com/questions/50203203/celery-tasks