You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTROLLERS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@ In the list below, the names of required properties appear in bold. Any other pr
282
282
283
283
### Description
284
284
285
-
Reads Sparkplug B messages and turns them into individual Record objects. The reader expects a single Sparkplug B payload in a read operation, which is a protobuf-encoded binary message. This reader is typically used with MQTT processors like ConsumeMQTT.
285
+
Reads Sparkplug B messages and turns them into individual Record objects. The reader expects a single Sparkplug B payload in a read operation, which is a protobuf-encoded binary message. This reader is designed to be used with ConsumeMQTT, since Sparkplug B is an MQTT-based protocol.
Copy file name to clipboardExpand all lines: PROCESSORS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -390,7 +390,7 @@ In the list below, the names of required properties appear in bold. Any other pr
390
390
391
391
### Description
392
392
393
-
This Processor gets the contents of a FlowFile from a MQTT broker for a specified topic. The the payload of the MQTT message becomes content of a FlowFile
393
+
This Processor gets the contents of a FlowFile from a MQTT broker for a specified topic. The the payload of the MQTT message becomes content of a FlowFile. If Record Reader and Record Writer are set, then the MQTT message specific attributes are not set in the flow file, because different attributes can be set for different records. In this case if Add Attributes As Fields is set to true, the attributes will be added to each record as fields.
Copy file name to clipboardExpand all lines: extensions/mqtt/controllers/SparkplugBReader.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ class SparkplugBReader final : public core::RecordSetReaderImpl {
33
33
~SparkplugBReader() override = default;
34
34
35
35
EXTENSIONAPI staticconstexprconstchar* Description = "Reads Sparkplug B messages and turns them into individual Record objects. "
36
-
"The reader expects a single Sparkplug B payload in a read operation, which is a protobuf-encoded binary message. This reader is typically used with MQTT processors like ConsumeMQTT.";
36
+
"The reader expects a single Sparkplug B payload in a read operation, which is a protobuf-encoded binary message. This reader is designed to be used with ConsumeMQTT, "
Copy file name to clipboardExpand all lines: extensions/mqtt/processors/ConsumeMQTT.h
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,8 @@ class ConsumeMQTT : public processors::AbstractMQTTProcessor {
47
47
}
48
48
49
49
EXTENSIONAPI staticconstexprconstchar* Description = "This Processor gets the contents of a FlowFile from a MQTT broker for a specified topic. "
50
-
"The the payload of the MQTT message becomes content of a FlowFile";
50
+
"The the payload of the MQTT message becomes content of a FlowFile. If Record Reader and Record Writer are set, then the MQTT message specific attributes are not set in the flow file, "
51
+
"because different attributes can be set for different records. In this case if Add Attributes As Fields is set to true, the attributes will be added to each record as fields.";
"Whether or not this message was from a current publisher, or was \"retained\" by the server as the last message published on the topic."};
127
128
EXTENSIONAPI staticconstexprauto RecordCountOutputAttribute = core::OutputAttributeDefinition<0>{"record.count", {}, "The number of records received"};
0 commit comments