Skip to content

Commit

Permalink
Add more detailed description if no messages were consumed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibob7 committed Jul 22, 2019
1 parent 1bd1c77 commit 87f1fb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions esque/cli/commands.py
Expand Up @@ -264,6 +264,7 @@ def transfer(

if number_consumed_messages == 0:
click.echo(click.style("Execution stopped, because no messages consumed.", fg="red"))
click.echo(bold("Possible reasons: The topic is empty or the starting offset was set too high."))
return

click.echo("\nReady to produce to context " + blue_bold(to_context) + " and target topic " + blue_bold(topic))
Expand Down

0 comments on commit 87f1fb6

Please sign in to comment.