Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Upgrade to March Hare #27

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Upgrade to March Hare #27

wants to merge 4 commits into from

Conversation

iconara
Copy link
Contributor

@iconara iconara commented Dec 16, 2014

This upgrades to March Hare (neé HotBunnies) 2.7.

Most of MH is backwards compatible all the way to the version we were using (1.5), but I had to rewrite a few things around subscriptions that's been changed: there's no longer a separate subscription object, but the consumer has all the properties needed (and really, the consumer is the subscription). The base consumers that ship with MH are also different so I needed to upgrade Autobahns custom consumer to use another base class.

There was no guarantee that the messages would be evenly divided between the three buckets, but that was what the test was asserting. This version just checks that at least one bucket got at least one message – because the point of the test is just to show that custom demultiplexers can be used, not that the specific demultiplexer works.
It’s been here since the first commit, empty.
It’s been due for a while.
@grddev
Copy link
Contributor

grddev commented Dec 16, 2014

Was it really that easy. I looked at this a while back, but I guess I was fooled by the relation between consumers and subscriptions.

The README still refers to hot-bunnies and should probably also be updated. Otherwise, everything looks good to me.

@iconara
Copy link
Contributor Author

iconara commented Dec 16, 2014

Looks like I forgot to push the readme updates.

@iconara
Copy link
Contributor Author

iconara commented Dec 16, 2014

I think it helps to be the one who wrote the subscription/consumer-things…

@iconara
Copy link
Contributor Author

iconara commented Jul 17, 2015

This has been left for a long time but it still feels relevant to get done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants