|
|
|
|
|
by raphting
330 days ago
|
|
I think there's a bug in the sample code, because the claim is to have a "consistent log rate": In the example, "read_event_from_queue()" should be blocking. If there are no items read from the queue within the given time interval, the logging part will never trigger, so the time-based logging does not have a consistent log rate. Besides the (potential) bug, it is a cool idea, if emitting metrics is not an option. |
|