Millistream Data Feed API (MDF) version 1.0.27 released

Millistream is pleased to announce the release of version 1.0.27 of our open source Data Feed API.

  • added support for decoding strings compressed with zstd. This also makes libzstd an added dependency (handled automatically for people using our pre-built binaries).
  • small optimization in mdf_get_next_message2().
  • changed how the internal read buffer is resized in response to the widening of the TCP/IP window.
  • fixed an error from v1.0.26 where the SHA512 digest function where using the same id as SHA3-512 which could lead to mdf_connect() failing constantly if either of these 2 digests had been chosen for the connection.
  • new property MDF_OPT_RBUF_SIZE that reports the number of bytes waiting to be processed in the internal read buffer after a call to mdf_consume().
  • new property MDF_OPT_RBUF_MAXSIZE that reports or sets the current total size of the internal read buffer.
  • new function mdf_extract() which extracts the current message from the mdf handle.
  • new function mdf_inject() which injects a previously extracted message to the mdf handle. These 2 new functions allow a client to use one mdf handle to receive messages from a server over the network but then passing on the message to be decoded by one or several other mdf handles running on e.g different threads.

As usual this version of MDF is binary compatible with previous versions, so there is no need to recompile client applications, so users (including users of the Java JNI wrapper) can simply upgrade by replacing the libmdf file itself.

MDF v1.0.27 is available for download from the following locations:

Linux users who have added our deb or rpm repositories can upgrade by simply issuing:

  • Debian/Ubuntu: “apt-get update && apt-get upgrade
  • Red Hat/CentOS/Amazon Linux AMI: “yum upgrade

Information on how to add these repositories are available at

And as usual, if you have any questions what so ever regarding this release or other things, don’t hesitate to contact us at