Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Outline
layout pattern
title Poison Pill
folder poison-pill
permalink /patterns/poison-pill/
pumlid JSZ14SCm20NHLf82BExfXiYCJGOX3NpYzkDZRllsgTwjTgcmnmciV145N-rGdFMkbEZJ8OxMvo2rkXWSzE4lRxka7huj1YGyQN3UGMjgpdkh6Gdwlrl5QAk6_G00
categories Other
tags
Java
Difficulty-Intermediate
Reactive

Intent

Poison Pill is known predefined data item that allows to provide graceful shutdown for separate distributed consumption process.

alt text

Applicability

Use the Poison Pill idiom when

  • need to send signal from one thread/process to another to terminate

Real world examples

Morty Proxy This is a proxified and sanitized view of the page, visit original site.