Skip to content

Commit

Permalink
Minor change to force another travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
tvoinarovskyi committed Oct 13, 2017
1 parent ee9fff7 commit 1a95cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/record_batch_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def func(loops, magic):
for _ in range(MESSAGES_PER_BATCH):
key, value, timestamp = next(precomputed_samples)
size = batch.append(
timestamp=timestamp, key=key, value=value, headers=[])
timestamp=timestamp, key=key, value=value)
assert size
batch.close()
results.append(batch.buffer())
Expand Down
2 changes: 1 addition & 1 deletion kafka/record/memory_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __init__(self, magic, compression_type, batch_size):
self._closed = False
self._bytes_written = 0

def append(self, timestamp, key, value, headers):
def append(self, timestamp, key, value, headers=[]):
""" Append a message to the buffer.
Returns:
Expand Down

0 comments on commit 1a95cb7

Please sign in to comment.