Navigation Menu

Skip to content

Commit

Permalink
Swapped "msg_timestamp" and "node_id_str" in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Manasa-Sriram-ML committed Aug 16, 2018
1 parent e25a0f2 commit 13facf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamingest/topic-preparation.md
Expand Up @@ -232,8 +232,8 @@ The remaining fields, all starting with `pnda.protobuf`, are specific to the Con
* The `pnda.protobuf.source.tag` identifies the tag of the field in the Protobuf message that should serve as the value of the `source` field (in the PNDA schema) of the datum produced by the ingest process. For our example above, one can notice that this tag matches the field that corresponds to the node_id_str in the [protocol buffer message type](https://github.com/cisco/bigmuddy-network-telemetry-proto/blob/master/staging/telemetry.proto#L36).

So a datum stored on the platform originating from the `protobuf.telemetry.flow` topic would, as expected, be serialized as an Avro binary format conform to the PNDA Schema and have its successive field set as follows:
* The `timestamp` field would contain a copy of the input datum field value corresponding to the `node_id_str`
* The `source` field would contain a copy of the input datum field value corresponding to the `msg_timestamp`
* The `timestamp` field would contain a copy of the input datum field value corresponding to the `msg_timestamp`
* The `source` field would contain a copy of the input datum field value corresponding to the `node_id_str`
* The `rawdata` field would contain the whole input datum as originally streamed to the topic, i.e. still Protobuf serialized

#### Limitations
Expand Down

0 comments on commit 13facf6

Please sign in to comment.