Skip to content

Conversation

@rnowling-memphis
Copy link
Contributor

When consumer.fetch() times out, it returns None. Instead, it should return an empty batch (list).

Copy link
Contributor

@idanasulin2706 idanasulin2706 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rnowling-memphis for another great one

@idanasulin2706 idanasulin2706 merged commit 4424d42 into master Jun 28, 2023
idanasulin2706 added a commit that referenced this pull request Jul 9, 2023
* Update README.md

* Fix return none (#172)

* Fix case where consumer.fetch() returns None

* Add docs

* Begin adding documentation

* add connid ti destroy prodcuer consumer (#176)

* version update

---------

Co-authored-by: Yaniv Ben Hemo <70286779+yanivbh1@users.noreply.github.com>
Co-authored-by: RJ Nowling <130711295+rnowling-memphis@users.noreply.github.com>
Co-authored-by: Shay Bratslavsky <shay@memphis.dev>
idanasulin2706 added a commit that referenced this pull request Jul 17, 2023
* Update README.md

* Fix return none (#172)

* Fix case where consumer.fetch() returns None

* Add docs

* Begin adding documentation

* add connid ti destroy prodcuer consumer (#176)

* version update

* Fix : no-member error for Exception status_code member (#1)

Bug Fix for no-member error for Exception status_code member in which i have fixed the following erros:

memphis/producer.py:210:45: E1101: Instance of 'Exception' has no 'status_code' member (no-member)

and after fixing that, this error occured on the same line 269:12:
R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)

* Fix doc example syntax for Consumer.fetch()

* Update CODEOWNERS (#180)

* Update CODEOWNERS

* Add examples to docstrings for consumer methods

* Added required changes in comsumer.py

- removed the first line and blank lines
- Used the named parameters

* Removed callback parameter

* version update

---------

Co-authored-by: Yaniv Ben Hemo <70286779+yanivbh1@users.noreply.github.com>
Co-authored-by: RJ Nowling <130711295+rnowling-memphis@users.noreply.github.com>
Co-authored-by: Shay Bratslavsky <shay@memphis.dev>
Co-authored-by: Adarsh jaiswal <its.adarshjaiss@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants