gurento/kafka-consumer-filament
最新稳定版本:v1.0.1
Composer 安装命令:
composer require gurento/kafka-consumer-filament
包简介
Filament UI package for gurento/kafka-consumer.
README 文档
README
gurento/kafka-consumer-filament is the Filament admin UI companion for gurento/kafka-consumer.
It provides a ready Kafka operations interface for:
- managing topic configurations
- viewing consume logs
- running re-consume actions from UI
Compatible with Filament v4 and v5.
Installation
composer require gurento/kafka-consumer gurento/kafka-consumer-filament
Register Plugin
In your Filament panel provider:
use Gurento\KafkaConsumerFilament\Filament\Plugins\KafkaConsumerPlugin; return $panel ->plugins([ KafkaConsumerPlugin::make(), ]);
What It Registers
Kafka Topicsresource- CRUD pages for topic mappings
Consume Logsrelation manager- operations actions (for re-consume/health workflows depending on your setup)
Typical Workflow
- Open
Kafka Topicsin Filament. - Create topic mapping:
- topic name
- target model class
- upsert key
- field mappings
- Run consumer command:
php artisan gurento:kafka-consume
- Monitor logs in the resource relation manager.
- Re-consume failed messages when needed.
Security and Access
This package only provides UI classes.
You should define policies/permissions in host app to restrict who can:
- edit topic mappings
- run replay actions
- inspect payload/error logs
Troubleshooting
Resource not visible
- Ensure plugin is added to the same panel you are using.
- Run
php artisan optimize:clear.
Class not found errors
- Confirm both packages are installed.
- Run
composer dump-autoload.
License
MIT
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-22