Skip to content

Conversation

@shay23b
Copy link
Contributor

@shay23b shay23b commented Feb 26, 2023

No description provided.

internal_station_name = get_internal_name(station_name)
consumer_map_key = internal_station_name + "_" + consumer_name.lower()
if consumer_map_key in self.consumers_map:
consumer = self.consumers_map[consumer_map_key]
Copy link
Contributor

Choose a reason for hiding this comment

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

in this case please update the batch size otherwise it will be the first one

start_consume_from_sequence: int = 1,
last_messages: int = -1
):
try:
Copy link
Contributor

Choose a reason for hiding this comment

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

missing description

idanasulin2706
idanasulin2706 previously approved these changes Feb 27, 2023
@idanasulin2706 idanasulin2706 merged commit de07a2f into master Feb 28, 2023
idanasulin2706 added a commit that referenced this pull request Mar 16, 2023
* Update README.md (#115)

* Fetch messages (#116)

* add fetch_messages function

* try fetch dls

* fetch messages + fetch dls messages

* bug fix + erase on close/destroy

* enable change batch size on same consumer in fetch

* add readme for consumer.fetch()

* allow change batch size in existing consumer

* refactor storage and retention variables to be enum based (#118)

* Feature/file modularity (#119)

* refactor storage and retention variables to be enum based

* separated memphis.py big file into multiple logical files for better tracking and maintaincing of code

* fix imports (#121)

* adding explanation about retention values (#122)

* delete station (#124)

* delete station

* fix issues

* add comment

* Fix formatting error (#125)

A backtack was missing in one of the Markdown code blocks, causing the code snippet to fail to render.

* change MAINTAINERS.md file (#126)

Co-authored-by: ido <ido@ip-192-168-1-114.eu-central-1.compute.internal>

* Update README.md

* update version

---------

Co-authored-by: Avitaltrifsik <107035359+Avitaltrifsik@users.noreply.github.com>
Co-authored-by: Shay Bratslavsky <shay@memphis.dev>
Co-authored-by: Alon David <37884564+alon-david@users.noreply.github.com>
Co-authored-by: Bruno Bandeira <brunoban.dev@gmail.com>
Co-authored-by: shohamroditimemphis <108217318+shohamroditimemphis@users.noreply.github.com>
Co-authored-by: RJ Nowling <rnowling@gmail.com>
Co-authored-by: idonaaman123 <127736311+idonaaman123@users.noreply.github.com>
Co-authored-by: ido <ido@ip-192-168-1-114.eu-central-1.compute.internal>
@idanasulin2706 idanasulin2706 deleted the fetch-messages branch April 2, 2023 18:09
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