swap node_id & client_id on event publish