gnodet commented on PR #22219:
URL: https://github.com/apache/camel/pull/22219#issuecomment-4118720835
## Rendering details — _Claude Code on behalf of Guillaume Nodet_
### `camel doc` on 85-column terminal
**Before** (hardcoded column widths — table is wider than terminal, lines
wrap badly):
```
BEFORE: `camel doc` on 85-column terminal (hardcoded column widths)
─────────────────────────────────────────────────────────────────────────────────────
╔═══════════════════╤════════════════════════════════════════════════════════════════
════════════════╤═════════════════════════╤════════╗
║ NAME │ DESCRIPTION
│ DEFAULT │ TYPE ║
╠═══════════════════╪════════════════════════════════════════════════════════════════
════════════════╪═════════════════════════╪════════╣
║ brokers │ URL of the Kafka brokers to use. The format is
host1:port1,host
2:port2 │ │ String ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ topic │ Name of the topic to use. On the consumer you can use
comma to
separate │ │ String ║
║ │ multiple topics.
│ │ ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ groupId │ A string that uniquely identifies the group of
consumer process
es │ myGroup │ String ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ keyDeserializer │ Deserializer class for key
│ org.apache.kafka.common │ String ║
║ │
│ .serialization.StringDe │ ║
║ │
│ serializer │ ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ valueDeserializer │ Deserializer class for value
│ org.apache.kafka.common │ String ║
║ │
│ .serialization.StringDe │ ║
║ │
│ serializer │ ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ autoOffsetReset │ What to do when there is no initial offset in
ZooKeeper
│ latest │ String ║
╟───────────────────┼────────────────────────────────────────────────────────────────
────────────────┼─────────────────────────┼────────╢
║ consumersCount │ The number of consumers that connect to kafka server
│ 1 │ int ║
╚═══════════════════╧════════════════════════════════════════════════════════════════
════════════════╧═════════════════════════╧════════╝
```
**After** (adaptive widths — table fits within 85 columns):
```
AFTER: `camel doc` on 85-column terminal (adaptive widths)
─────────────────────────────────────────────────────────────────────────────────────
╔═══════════════╤══════════════════════════════════╤══════════╤════════╗
║ NAME │ DESCRIPTION │ DEFAULT │ TYPE ║
╠═══════════════╪══════════════════════════════════╪══════════╪════════╣
║ brokers │ URL of the Kafka brokers to use. │ │ String ║
║ │ The format is │ │ ║
║ │ host1:port1,host2:port2 │ │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ topic │ Name of the topic to use. On the │ │ String ║
║ │ consumer you can use comma to │ │ ║
║ │ separate multiple topics. │ │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ groupId │ A string that uniquely │ myGroup │ String ║
║ │ identifies the group of consumer │ │ ║
║ │ processes │ │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ keyDeserializ │ Deserializer class for key │ org.apac │ String ║
║ er │ │ he.kafka │ ║
║ │ │ .common. │ ║
║ │ │ serializ │ ║
║ │ │ ation.St │ ║
║ │ │ ringDese │ ║
║ │ │ rializer │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ valueDeserial │ Deserializer class for value │ org.apac │ String ║
║ izer │ │ he.kafka │ ║
║ │ │ .common. │ ║
║ │ │ serializ │ ║
║ │ │ ation.St │ ║
║ │ │ ringDese │ ║
║ │ │ rializer │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ autoOffsetRes │ What to do when there is no │ latest │ String ║
║ et │ initial offset in ZooKeeper │ │ ║
╟───────────────┼──────────────────────────────────┼──────────┼────────╢
║ consumersCoun │ The number of consumers that │ 1 │ int ║
║ t │ connect to kafka server │ │ ║
╚═══════════════╧══════════════════════════════════╧══════════╧════════╝
```
### `camel doc` on 120-column terminal
**After** (adaptive widths — uses the extra space for wider columns):
```
AFTER: `camel doc` on 120-column terminal (adaptive widths)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
╔═══════════════════╤═══════════════════════════════════════════════════╤════════════════╤════════╗
║ NAME │ DESCRIPTION │
DEFAULT │ TYPE ║
╠═══════════════════╪═══════════════════════════════════════════════════╪════════════════╪════════╣
║ brokers │ URL of the Kafka brokers to use. The format is │
│ String ║
║ │ host1:port1,host2:port2 │
│ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ topic │ Name of the topic to use. On the consumer you can │
│ String ║
║ │ use comma to separate multiple topics. │
│ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ groupId │ A string that uniquely identifies the group of │
myGroup │ String ║
║ │ consumer processes │
│ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ keyDeserializer │ Deserializer class for key │
org.apache.kaf │ String ║
║ │ │
ka.common.seri │ ║
║ │ │
alization.Stri │ ║
║ │ │
ngDeserializer │ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ valueDeserializer │ Deserializer class for value │
org.apache.kaf │ String ║
║ │ │
ka.common.seri │ ║
║ │ │
alization.Stri │ ║
║ │ │
ngDeserializer │ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ autoOffsetReset │ What to do when there is no initial offset in │
latest │ String ║
║ │ ZooKeeper │
│ ║
╟───────────────────┼───────────────────────────────────────────────────┼────────────────┼────────╢
║ consumersCount │ The number of consumers that connect to kafka │ 1
│ int ║
║ │ server │
│ ║
╚═══════════════════╧═══════════════════════════════════════════════════╧════════════════╧════════╝
```
### `camel ps` on 85-column terminal
**Before** (hardcoded NAME max-width 40 — columns spill past terminal):
```
BEFORE: `camel ps` on 85-column terminal (hardcoded widths)
─────────────────────────────────────────────────────────────────────────────────────
PID NAME READY STATUS AGE TOTAL FAIL INFLIGHT
12345 my-kafka-integration 1/1 Running 2h30m 1542 3 0
12346 rest-api-service 1/1 Running 1h15m 891 0 2
12347 file-processor-route 0/1 Starting 5s 0 0 0
```
**After** (adaptive NAME width — truncated with ellipsis to fit):
```
AFTER: `camel ps` on 85-column terminal (adaptive widths)
─────────────────────────────────────────────────────────────────────────────────────
PID NAME READY STATUS AGE TOTAL FAIL INFLIGHT
12345 my-kafka-int… 1/1 Running 2h30m 1542 3 0
12346 rest-api-ser… 1/1 Running 1h15m 891 0 2
12347 file-process… 0/1 Starting 5s 0 0 0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]