Skip to content

Commit b0b663d

Browse files
author
Devdutt Shenoi
committed
doc: describe kinesis flattening
1 parent 4e2f51a commit b0b663d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/handlers/http/modal/utils/ingest_utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub async fn flatten_and_push_logs(
4949
) -> Result<(), PostError> {
5050
match log_source {
5151
LogSource::Kinesis => {
52+
//custom flattening required for Amazon Kinesis
5253
let message: Message = serde_json::from_value(json)?;
5354
for record in flatten_kinesis_logs(message) {
5455
push_logs(stream_name, record, &LogSource::default()).await?;

0 commit comments

Comments
 (0)