KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ C API write k object to disk

  • C API write k object to disk

    Posted by Simo on November 26, 2024 at 3:09 am

    I was wondering if its possible for the C API (or Java c interface) to update a file on disk with k objects (similar to how a tickerplant updates the tick log)

    Basically want to implement journaling mechanism, if the feed handler drops a message from its queue and the ticker plant never receives the message – replaying the kdb tick log won’t recover the data. (Of course the feed handler could log in plane text, but I’m trying to see if I can avoid reading/parsing a csv file)

    From what I can tell the khpun function can only open a handle to a q process, not a file handle like hopen

    So, is there an out of the box implementation for c/java API to update a binary file and then a q process read/process the file with -11!

    Or so we need to write a custom deserializer to read the binary file?

    replied 5 months, 2 weeks ago 0 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.