I've asked this questions via "Contact the app developer" more than week ago, but I still don't have any answer. There may have been an error sending the message.
1) In FB IIoT_MqttClient there is input parameter "diMaxBufferedMessages". Help file says that "Recommended maximum value: 100 ". If the value is higher, could it cause the client to function incorrectly?
2) What is maximum size in bytes of "anyPayload" for Publish method?
Some example projects using the library can be found here: https://github.com/PLCnext/IIoT_Library.
In one of the examples in the repo from the link above the „diMaxBufferedMessages“ is set to 120 with the following comment „120 x 5sec => 10min off-line buffering“. So higher than 100 is possible and did not cause my client to function incorrectly when running the example project. I suspect the limit is depending on the amount of disk space present and the size of the messages. However only the developer can tell you.
I had some questions regarding this library as well, and got a response within a day. Maybe the developer is on leave, or the message did not came through, you can always send another message.