Logging while streaming
Hi!
Our customer wants to show current temperature, even while temperature is being logged. The idea is to stream temperature every 1s if the app is visible, and to log temperature every 30s for several hours. I've read in other post that streaming and logging at the same time is possible but doing it for the same data is not a recommended use case.
I have enabled streaming and logging with different routes (ensuring LOG_KEY != STREAM_KEY) and got streamed temperature entries in the log. Is there a right way of achieving this or I should discard streaming temperature while logging it?
Thanks in advance
Our customer wants to show current temperature, even while temperature is being logged. The idea is to stream temperature every 1s if the app is visible, and to log temperature every 30s for several hours. I've read in other post that streaming and logging at the same time is possible but doing it for the same data is not a recommended use case.
I have enabled streaming and logging with different routes (ensuring LOG_KEY != STREAM_KEY) and got streamed temperature entries in the log. Is there a right way of achieving this or I should discard streaming temperature while logging it?
Thanks in advance
This discussion has been closed.
Comments