Build a local replica of the metadata from the event stream

Signed-off-by: David Scott <dave.scott@citrix.com>