Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Change Log Consumer

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Change Log Consumer


Chronological Thread 
  • From: "Klug, Lawrence" <>
  • To: Chris Hyzer <>, "" <>
  • Subject: [grouper-users] RE: Change Log Consumer
  • Date: Mon, 1 Oct 2012 14:19:06 +0000
  • Accept-language: en-US

Chris,

 

Thanks for the helpful response.  I’ve seen my consumer run when I call “gsh  –loader” from command line in WIN, but not yet from Admin UI events – I’m working from a simple example I found.

 

Related question:

 

I want to examine the attributes of the group associated with each changeLogObject. I’m looking for an attribute named “ploneTarget”.   Is it possible to get a reference to the associated group (and how)?  Would I then call  group.getAttributesMap() and iterate through the map?  What is the recommended way to do this?

 

Thanks,

 

Lawrence

 

From: Chris Hyzer [mailto:]
Sent: Sunday, September 30, 2012 7:36 PM
To: Klug, Lawrence;
Subject: RE: Change Log Consumer

 

As events occur,  they are put into grouper_change_log_entry_temp table.

At the top of the minute, they are moved from there to the grouper_change_log_entry table.  If this is not occurring then the change log daemon in the loader is not running successfully.  At some point after that (e.g. a few seconds after the top of the minute), your change log consumer should run.  You should see a row for your consumer in the grouper_change_log_consumer table.  There will be a last index processed there which should be updated to the last grouper_change_log_entry index.  If that is not happening, then your consumer is not running.  If it is running, and not doing anything, then maybe it is not matching the records correctly… if you want to make a simple example change log consumer (something that I could load in my env), I could try to help troubleshoot, or let me know how you want to proceed.

 

Thanks,

Chris

 

From: Klug, Lawrence
Sent: Friday, September 28, 2012 12:36 PM
To: Chris Hyzer;
Subject: Change Log Consumer

 

So far I’m not seeing Admin UI events picked up by my ChangeLogConsumer class – do I need to configure something for this to happen?

 

Thanks,

 

Lawrence

 

 




Archive powered by MHonArc 2.6.16.

Top of Page