@@ -99,7 +99,7 @@ def put_basic_event(self, module_name, record):
99
99
100
100
if self .mode == 'test' :
101
101
response = self .kinesis .put_record (StreamName = self .stream ,
102
- Data = record ,
102
+ Data = record + " \n " ,
103
103
PartitionKey = str (hash ('test' ))
104
104
)
105
105
elif self .mode == 'events_off' :
@@ -115,7 +115,7 @@ def put_basic_event(self, module_name, record):
115
115
116
116
else :
117
117
response = self .kinesis .put_record (StreamName = self .stream ,
118
- Data = record ,
118
+ Data = record + " \n " ,
119
119
PartitionKey = str (hash (module_name ))
120
120
)
121
121
return response
@@ -161,7 +161,7 @@ def put_service_event(self, action, status, data):
161
161
162
162
if self .mode == 'test' :
163
163
response = self .kinesis .put_record (StreamName = self .stream ,
164
- Data = json .dumps (record ),
164
+ Data = json .dumps (record ) + " \n " ,
165
165
PartitionKey = str (hash ('test' ))
166
166
)
167
167
@@ -178,7 +178,7 @@ def put_service_event(self, action, status, data):
178
178
179
179
else :
180
180
response = self .kinesis .put_record (StreamName = self .stream ,
181
- Data = json .dumps (record ),
181
+ Data = json .dumps (record ) + " \n " ,
182
182
PartitionKey = str (hash (self .service ))
183
183
)
184
184
return response
0 commit comments