July 11, 2022

Kafka Consumer on Sentry Receives OFFSET_OUT_OF_RANGE Error

Activities, Android Developer, Ansible, Apache2, Atlassian, Ayo Belajar Linux, Bestpath Network, BLC Telkom Klaten, BSD, Caddy Server, Case Study, Cisco, Cisco Indonesia, Cloud Computing, Cockpit, Custom Weapons, Docker, E-Learning, Engenius, Error, FreeBSD, FreeBSD Indonesia, Komunitas Pengguna Linux Indonesia, KPLI Bulukumba, KPLI Klaten, Lets Encrypt, Linux, MacOS, Microsoft Azure, Microsoft SQL Server, MikroTik, MikroTik Indonesia, MySQL, Nginx, Open edX, OpenSID, Others, PHP, phpMyAdmin, PostgreSQL, Proxmox, Python, Redash, Sendy, SSH, Stories, Subnetting, TP-Link, Ubiquiti, Unix, Virtualization, Windows, X-Mosque, Faizar Septiawan, Icar, siBunglonGanteng, Orang Ganteng, siBunglonLabs

Stop your sentry instance

docker-compose stop

Then remove volumes

docker-compose down --volumes

Remove the Kafka & Zookeeper related volumes

docker volume rm sentry-kafka
docker volume rm sentry-zookeeper

Run installation script again which will create the missing topics

./install.sh --skip-commit-check

Then start your sentry instance

docker-compose up -d