Git Product home page Git Product logo

Comments (10)

noxdafox avatar noxdafox commented on August 20, 2024

Hello,

I am not familiar with C# so I need your help here.
Could you please bundle the above code in something I can easily execute from my workstation? I am using Linux.

from rabbitmq-message-deduplication.

hnarisetty avatar hnarisetty commented on August 20, 2024

Hi
I have attached the publisher and subscriber executable and their source files. Can you please check it?

publisher.zip

Program - pub.txt

Subscriber.zip

Program - sub.txt

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on August 20, 2024

I cannot run them on Linux as they are. Could you please provide a Linux compatible build?

from rabbitmq-message-deduplication.

hnarisetty avatar hnarisetty commented on August 20, 2024

The size is becoming a problem. Can I place in my one drive so that you can access?

from rabbitmq-message-deduplication.

hnarisetty avatar hnarisetty commented on August 20, 2024

https://1drv.ms/u/s!AhsWFrOSjEnwkIdyRwbugWLUKzsXGA?e=q2GPgF
Can you please access this link. I have uploaded both Publiher and subscriber linux compatible files there.

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on August 20, 2024

It seems so. In the upcoming days I'll give it a spin and let you know.

from rabbitmq-message-deduplication.

hnarisetty avatar hnarisetty commented on August 20, 2024

Do you see any issues in the source code?

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on August 20, 2024

I just tested the Publisher and I see only 1 message in the queue. Here's the Publisher log:

$ ./TestPub 
 Sent: Message 1 with x-deduplication-header as Test
 Sent: Message 2 with x-deduplication-header as Test
 Sent: Message 3 with x-deduplication-header as Test
 Sent: Message 4 with x-deduplication-header as Test
 Sent: Message 5 with x-deduplication-header as Test
 Sent: Message 6 with x-deduplication-header as Test
 Sent: Message 7 with x-deduplication-header as Test
 Sent: Message 8 with x-deduplication-header as Test
 Sent: Message 9 with x-deduplication-header as Test
 Sent: Message 10 with x-deduplication-header as Test
Publishing completed

Here's the Queue status:
10 messages where actually published

$ curl -s -u guest:guest http://localhost:15672/api/queues | jq '.[] | select(.name=="DeduplicationTestQueue") | .message_stats'
{
  "publish": 10,
  "publish_details": {
    "rate": 0
  }
}

1 message only in the queue

$ curl -s -u guest:guest http://localhost:15672/api/queues | jq '.[] | select(.name=="DeduplicationTestQueue") | .messages'
1

from rabbitmq-message-deduplication.

noxdafox avatar noxdafox commented on August 20, 2024

Is the plugin correctly installed? Did you restart the broker after enabling the plugin?

from rabbitmq-message-deduplication.

hnarisetty avatar hnarisetty commented on August 20, 2024

Yes. it is working.

from rabbitmq-message-deduplication.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.