Closed caracal7 closed 3 years ago
Witch the best way to log users activity?
I need log to database:
My decision: 1 and 5: in message broker AuthenticationHandler isValidUser() 2 and 3: in microservice(node client) with using Presence API 4: in every RPC procedure or in message broker PermissionHandler canPerformAction()
isValidUser()
canPerformAction()
Is it right way?
Take a look at the monitoring plugin, by filtering the message types you can log any message https://deepstream.io/tutorials/custom-plugins/monitoring/
Witch the best way to log users activity?
I need log to database:
My decision: 1 and 5: in message broker AuthenticationHandler
isValidUser()
2 and 3: in microservice(node client) with using Presence API 4: in every RPC procedure or in message broker PermissionHandlercanPerformAction()
Is it right way?