grouper-users - Re: [grouper-users] RabbitMq Routing
Subject: Grouper Users - Open Discussion List
List archive
- From: "Crawford, Jeffrey" <>
- To: "Gettes, Michael" <>, Vivek Sachdeva <>
- Cc: "Ruch,Jeff" <>, Chris Hyzer <>, Julio Polo <>, "" <>
- Subject: Re: [grouper-users] RabbitMq Routing
- Date: Wed, 30 Jan 2019 17:12:29 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:1d58fxBgZonE0Xni61GSUyQJP3N1i/DPJgcQr6AfoPdwSP36rsWwAkXT6L1XgUPTWs2DsrQY07qQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDmwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VC+85Kl3VhDnlCYHNyY48G7JjMxwkLlbqw+lqxBm3oLYfJ2ZOP94c6jAf90VWHBBU95RWSJfH428c4UBAekPPelaronyu1QBoACkCgWwAePi0CNEimP00KA8zu8vERvG3AslH98WvnjZss/1O70cUOC7y6nI1yjMY+tL0jn59ofIfB4hoeuSUrNwf8ba1E4iFwHZgVWKs4PkMT2V1uMXs2eG9OdgVP6vh3Q6qw5tpjig3N0ghZfUiYII013J8zhyzogyJd29UkF7YNikHYNVtyGdKoR2Q80iQmFytCkg170GpZm7cDAKyJQ72x7fc+WLfoaS7R37TOmRIS13hXx/d7K+hha+61avxfDhVsWsyFZKtC1Fkt7CtnAV0BzT686HSudn8ki93jaP0hjf6vtaLkA7lKrbMIIhwqQqmZoPsETDGSn2lF/zjKCMcEUp/PWj5ef/Yrj+uJOTLZN4hhz7P6gzh8CzHOE1MgYBUmSH5eix0bPj8lP2TbhFi/A7l6vUvI3eKMgDuKK0AhNZ34Qm5haxEzuqzcgUkHwZIF1beR+KiojkNEvLLf/lCfqyg1uhnTJxyP3IPrDsAZDAI3vfnLrjc7Zw7k1RxxAwwNxC/55UBK8OLfHvVkL0sdHYAAI1MwKpz+viBthw1ocTVGaKD6CCMq7fslCF6+ctLuWQeoMaozDwIOU/6fH0l382g1odcLGp3ZQJbHC4GexrLV2FbHTrntsND34GsBcmQuD3kVGCViVcaGioU6I7+zE7FJmpDYDeRoCrnbONxj+7HodRZmBaFF+DDWvod4SDW/cKci6SJdJhkiAAVbimTI8h1guiuxP9y7piNubU+ysYuoz/1NVt+eHcjw0++SFxAsiAzm2BUmR5nm0HSjMqwKxypEJ9xUmM3KV3hvFVEN5e6+5NXwsiMJ7T1e16C9T8WgLbedeJTU6rQte6DjErVN0wzdEOY0FnG9q/lR3D3jaqD6UIl7OXAJw76LjQ0GbsKMZg03rGzrUuj0E6QstTMm2rnqF/9xLUB47Ui0WWibyqeb0B3C7W6miD13GOsVpcUA5xSqXFQWsfalHXrdT/+kPNUaWuCbI5PQtd18KOMLVFZcD0jQYOePC2cvvTf368gCP4IBeDxrqBaMCiL2oQwDnQE2AZnQRV8HqbY0x2OCa/rmGWNzVlFV7ifUqkpeRktnKlQ0wvxgqKY0B/3pK6/xcUgbqXTPZFjZwevyJ04R5uFUmz2MjaT5KiqgRvZqhNK5tp4lxd3H3XsBZxFp28ab1pgldYfghq6RC9ny5rA5lNxJB55EghyxB/fOfBiAsbLWGRwIzwN7vLK2L74BGobevM10rD1MqNpPtd8+w2/lPkugzhVlEv9XlqyZF06zOd/d2LaWhaSpftSgAy/hl+qavdZ3w/7JndynNrK6WcsyOExtktDa0oxgvzN9o=
Hi Michael,
Can always count on you for some real world expertise. Thanks I’ll look into that.
@Vivek, thanks for working on this, how long do you thing before you have the topic code ready. Not holding you to anything, just want to get an idea so I can roughly schedule a POC on this for the interested party.
Thanks Jeffrey C.
From: "Gettes, Michael" <>
Here’s how I would recommend use of messaging, especially with RabbitMQ but ActiveMQ can do it too and I believe many other message brokers have similar capabilities…
Configure a grouper changelog consumer for message publishing for each message “category” you’d like to send. A “category” would be based on what content you want in the message. To some message consumers you’d like to send them only eduPersonPrincipalName but to others you’d like to send ePPN and email. Each of those would cause you to configure a separate changelog consumer sending messages to the broker. A category can also differentiate sending only membership related events vs. privilege changes or other messages related to the group. For each category - I recommend sending to a topic, not a queue, and include the groupName in the routingKey for RabbitMQ (or equiv for your broker) and then you can easily split-out to many different queues on the broker based on the routingKey name. A single message from Grouper can become dozens based on this configuration *and* you get to control queues/consumers only getting the messages they are supposed to receive.
I further recommend you use RabbitMQ for use by Grouper to get the above capability and, currently, it comes with the TIER packaging. You can always link a RabbitMQ broker to another broker by MQ style messaging or easily write a consumer which resends the message onto your other message broker. This would give you the best of capabilities out of grouper and integrate your existing non-AMQP capable messaging system.
With this overall mindset of how to configure grouper and the broker you obtain complete control of who gets what messages and doing so rather efficiently. I can generate 10,000 messages from grouper to multiple queues with varied requirements on what they receive in a matter of 45 seconds - all on my laptop. That’s slick. Of course, this is with the latest version of grouper and patches supporting better subject caching and so on. Really looking forward to Vivek’s latest changes so I can change my config to something even simpler and more powerful.
/mrg
|
- Re: [grouper-users] RabbitMq Routing, Crawford, Jeffrey, 01/30/2019
- Re: [grouper-users] RabbitMq Routing, Vivek Sachdeva, 01/30/2019
- Re: [grouper-users] RabbitMq Routing, Gettes, Michael, 01/30/2019
- RE: [grouper-users] RabbitMq Routing, Black, Carey M., 01/30/2019
- Re: [grouper-users] RabbitMq Routing, Gettes, Michael, 01/31/2019
- RE: [grouper-users] RabbitMq Routing, Hyzer, Chris, 01/31/2019
- Re: [grouper-users] RabbitMq Routing, Gettes, Michael, 01/31/2019
- Re: [grouper-users] RabbitMq Routing, Crawford, Jeffrey, 01/30/2019
- RE: [grouper-users] RabbitMq Routing, Black, Carey M., 01/30/2019
- Re: [grouper-users] RabbitMq Routing, Gettes, Michael, 01/30/2019
- Re: [grouper-users] RabbitMq Routing, Vivek Sachdeva, 01/30/2019
Archive powered by MHonArc 2.6.19.