Skip to content

Commit

Permalink
Update docstring for Worker class
Browse files Browse the repository at this point in the history
  • Loading branch information
joowani committed May 10, 2017
1 parent 5cc18b8 commit f722688
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class Worker(object):
keyfile='/my/files/keyfile',
crlfile='/my/files/crlfile',
proc_ttl=2000,
offset_policy='earliest'
)
worker.start()
Expand Down Expand Up @@ -96,7 +97,7 @@ class Worker(object):
:type proc_ttl: int
:param offset_policy: Policy for resetting offsets on the Kafka consumer.
Value ``"earliest"`` moves the offset to the oldest available message
and ``"latest"`` to the most recent. Default: 'latest'.
and ``"latest"`` to the most recent. Default: ``"latest"``.
:type offset_policy: str | unicode
"""

Expand Down

0 comments on commit f722688

Please sign in to comment.