confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
128 stars 1.04k forks source link

REST API: DESCRIBE need to return statistics & errorStats in the machine readable format #1489

Open alexott opened 6 years ago

alexott commented 6 years ago

When executing the DESCRIBE EXTENDED ... the KSQL REST API returns an answer with several fields related to statistics, but the content of these fields isn't machine-readable:

"statistics":"c-total-message-bytes: 120174232 c-total-messages:    337793 messages-per-sec:     54.77     last-message: 6/24/18 2:38:03 PM CEST",
"errorStats":"c-failed-messages:         0 failed-messages-per-sec:         0      last-failed:       n/a"

It would be nice if this information was returned in already parsed form...

agavra commented 5 years ago

https://github.com/confluentinc/ksql/pull/2430 should address this issue