Skip to content

Commit d6658dc

Browse files
add msg id validation
1 parent 4385d41 commit d6658dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memphis/producer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async def produce(
170170
"$memphis_connectionId": self.connection.connection_id,
171171
}
172172

173-
if msg_id is not None:
173+
if msg_id is not None and msg_id != "":
174174
memphis_headers["msg-id"] = msg_id
175175

176176
if headers is not None:

0 commit comments

Comments
 (0)