Closed petersilva closed 1 month ago
no... that's not it... there is some decoding problem somewhere, but not clear what. EDIT: It isn't just having a T... there is something more subtle going on because it is intermittent... occurs rarely with messages, where other vanishingly similar messages are correctly processed.
It seems to be that when C implementation ingests v2 message, and then sends it out as v3, and then a second one gets the v3 and sends it as v2... something like that... but only sometimes... most messages are correct.
I think I found it... some data sources produce timestamps with 9 digits after the decimal point (claiming nanosecond precision... I call b.s. but that's not the issue here.) anyways. the space allocated for time stamps was 25 chars... and these were 25 chars. I increased to 64. and the problem goes away.
OK... so turning debug on, then found this:
so if the pubTime has a "T" in it, the C code fails to decode it properly.