Przeglądaj źródła

chore: add example for DynamoDB template

firest 2 lat temu
rodzic
commit
a3de04ebd2
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      rel/i18n/emqx_bridge_dynamo.hocon

+ 3 - 1
rel/i18n/emqx_bridge_dynamo.hocon

@@ -35,7 +35,9 @@ local_topic.label:
 """Local Topic"""
 """Local Topic"""
 
 
 template.desc:
 template.desc:
-"""Template, the default value is empty. When this value is empty the whole message will be stored in the database"""
+"""Template, the default value is empty. When this value is empty the whole message will be stored in the database.<br>
+The template can be any valid json with placeholders and make sure all keys for table are here, example:<br>
+  {"id" : ${id}, "clientid" : ${clientid}, "data" : ${payload}}"""
 
 
 template.label:
 template.label:
 """Template"""
 """Template"""