NerdWalletOSS / kinesis-python

Low level, multiprocessing based AWS Kinesis producer & consumer library
Other
118 stars 50 forks source link

Add shutdown method to producer for clean exit #23

Closed lweehuizen-rbx closed 4 years ago

lweehuizen-rbx commented 5 years ago

This adds a shutdown command to the producer that shuts down the subprocess and allows python to exit cleanly.

codecov-io commented 5 years ago

Codecov Report

Merging #23 into master will decrease coverage by 0.11%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   32.98%   32.86%   -0.12%     
==========================================
  Files           4        4              
  Lines         285      286       +1     
==========================================
  Hits           94       94              
- Misses        191      192       +1
Impacted Files Coverage Δ
src/kinesis/producer.py 47.12% <50%> (-0.55%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2bf3551...39cc2ba. Read the comment docs.