kafkaPoint
Kafka ์ฌ์ฉ ์ ์ฃผ์์
Reference
Rebalancing
kafka์ ํต์ ํ๋ consumer group์ค ํน์ ์ธ์คํด์ค๊ฐ ๋ค์ด๋์์ ๋, consumer group ์ consumer๊ฐ ์ถ๊ฐ ๋๋ ์ญ์ ๋๋ฉด consumer๊ฐ ์์ ํ๊ณ ์๋ partition ์ ์ฌํ ๋น (reassign) ํ๋ ์์
์ด ๋ฐ์ํ๋๋ฐ ์ด๋ฅผ rebalancing ์ด๋ผ๊ณ ํ๋ค
์์ ๋ณด์ฅ
topic์ ์์ ๋ณด์ฅ์ ํด์ฃผ์ง ์์ง๋ง, topic๋ด์ partition์์๋ ์์ ๋ณด์ฅ ๊ธฐ๋ฅ์ ์ง์ํด์ค๋ค.
์ค๋ณต ๋ฉ์์ง ์์
kafka์์ consume ์ดํ offset commit ๋ฑ์ ๋ชปํ๋ ๋ฑ์ ์ด์๊ฐ ๋ฐ์ํ๋ฉด, ์ด๋ฏธ consumer์๊ฒ ์ ๋ฌํ ๋ฉ์์ง๋ฅผ ์ค๋ณต์ผ๋ก ์ ๋ฌํ ์๋ ์๊ฒ ๋๋ค
Last updated