The data freshness period and other data-related flags are set internally by the library. For example, in most of the producer data generation functions (here), the Freshness Period is set to 5 seconds (hardcoded). This can be a problem for applications that wants a different freshness period, say more than 5 seconds. Also, there doesn't seem to have a provision to set other data flags unless making changes to the library itself.
The data freshness period and other data-related flags are set internally by the library. For example, in most of the producer data generation functions (here), the Freshness Period is set to 5 seconds (hardcoded). This can be a problem for applications that wants a different freshness period, say more than 5 seconds. Also, there doesn't seem to have a provision to set other data flags unless making changes to the library itself.