1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 01:22:09 +02:00

kcat: add Spanish translation (#14849)

Co-authored-by: Darío Hereñú <magallania@gmail.com>
This commit is contained in:
Igor Támara 2024-11-17 10:13:46 -05:00 committed by GitHub
parent f797756314
commit da7fe7bfd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages.es/common/kcat.md Normal file
View file

@ -0,0 +1,36 @@
# kcat
> Productor Apache Kafka y herramienta de consumo.
> Más información: <https://github.com/edenhill/kcat>.
- Consume mensajes empezando por el corrimiento (offset) más nuevo:
`kcat -C -t {{tema}} -b {{intermediarios}}`
- Consume mensajes comenzando con el offset más antiguo y sale después de recibir el último mensaje:
`kcat -C -t {{tema}} -b {{intermediarios}} -o beginning -e`
- Consume mensajes como grupo de consumidores de Kafka:
`kcat -G {{id_de_grupo}} {{tema}} -b {{intermediarios}}`
- Publica el mensaje leyendo de `stdin`:
`echo {{mensaje}} | kcat -P -t {{tema}} -b {{intermediarios}}`
- Publica mensajes leyendo desde un archivo:
`kcat -P -t {{tema}} -b {{intermediarios}} {{ruta/al/archivo}}`
- Lista metadatos para todos los temas e intermediarios:
`kcat -L -b {{intermediarios}}`
- Lista metadatos para un tema específico:
`kcat -L -t {{tema}} -b {{intermediarios}}`
- Obtiene el offset de un tema/partición para un punto específico en el tiempo:
`kcat -Q -t {{tema}}:{{partición}}:{{marca_de_tiempo_unix}} -b {{intermediarios}}`