AnsweredAssumed Answered

Bug in MapR-Streams topic monitoring?

Question asked by john.humphreys on Sep 20, 2017
Latest reply on Sep 25, 2017 by cathy

I'm pretty sure there's a bug in the topic monitoring APIs.

 

When you hit the /rest/stream/topic/info endpoint, it returns a date in this format.

{
"timestamp": 1505940698061,
"timeofday": "2017-09-20 04:51:38.061 GMT-0400",
"status": "OK",
"total": 20,
"data": [
{
"partitionid": 0,
...
"maxtimestamp": "2017-09-20T04:47:49.050-0400",
...
},

There's no AM/PM, but it's not 24-hour time; it rolls over from 12 to 0.  So, you get the same time reported at 4am and 4pm.

Outcomes