Skip to content

Topic Format

Aaron Lee edited this page Nov 29, 2016 · 10 revisions

GeoSpatial

For the geo-spatial component of the demo, the topic structure will look like:

topic/geo

Where payload is a JSON string has at least 3 components:

  • lat = latitude
  • lng = longitude
  • name = user's name

e.g. {"lat":"23.123456","lng":"118.123456","name":"Roberto"}

SdkPerf

./sdkperf_c -cip=<HOST> -cu=<USER>@hackathon -cp=<PASSWORD> -ptl=topic/geo -pal=payload.txt -mn=1

Custom topics

If you wish to publish messages on your own custom topic, please prefix your topic hierarchy with you username, in order to separate it logically from other users of the global VPN. blahblahbhablh

Clone this wiki locally