sdkperf file input format
Hi,
I am trying to test my application with sdkperf to control the number of messages published per second and I am finding the sdkperf_c tool very useful, however the documentation doesn't explain clearly how to structure the text file when using the -sdm option. I would like to send a message containing a string, and defining peroperties under UserPropertyMap. I would also like to understand better the structure of the message in the example file. Are there any resources about this?
Comments
Hey there Szanin,
Have you reviewed the example documented here under the
Publish/Subscribe to Persistent Messages with Selectors and Structured Data
section?Specifically:
sdkperf_c -cip=HOST -pql=queue -mt=persistent -mn=1 -mr=1 –sdm=sdm1.txt
Where the contents of
sdm1.txt
are:Thanks for sharing @UshShukla. @szanin hope that worked for you!
Well, my question was really intended to get some help clarifying the content of that sdm1.txt file.
It's not clear what properties are set, and whether different inputs can be used, or if the structure has to strictly follow that schema, as in:
What does the
type=map
flag mean, what happens if theuseBinaryAttachment
value is set to 1? Are there more flags that can be set in the same way astype
anduseBinaryAttachment
? Is it possible to add UserPropertyMap properties in the context of this kind of input?