Skip to content

Commit 7bc02c6

Browse files
committed
update kafkaPublishTimestamp field
1 parent 029599d commit 7bc02c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

broker/setup_broker/lsst/templates/ps_lsst_add_top_level_fields_smt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
if (attrs.healpix19) newFields.healpix19 = attrs.healpix19.toString();
1515
if (attrs.healpix29) newFields.healpix29 = attrs.healpix29.toString();
1616
if (attrs["kafka.timestamp"]) {
17-
newFields.kafkaPublishTimestamp = attrs["kafka.timestamp"].toString();
17+
newFields.kafkaPublishTimestamp = attrs["kafka.timestamp"] * 1000;
1818
}
1919
2020
// Define the data as a set of key-value pairs to be added to the JSON payload

0 commit comments

Comments
 (0)