ess-dmsc/kafkacow

Compact view option

Closed this issue · 0 comments

I would like to request an option to make the output more compact.

In stead of

Mon 27-Apr-2020 07:20:29.0  ||  2020-04-27T07:20:29.0                                  ||

Timestamp: 1587972029000 || PartitionID:     0 || Offset:       4 || File Identifier: ev42 ||
{
    detector_id: [
        4779
        4851
        4770
        4464
        5085
        4847
        4756
        5107
        4959
        5103
        ...
        Truncated 6606 elements.
    ]
    message_id: 5
    pulse_time: 1587972029000000000
    source_name: multiblade
    time_of_flight: [
        6265968
        6518352
        7145888
        7195792
        7595536
        8098624
        8108368
        8456544
        8525920
        8666576
        ...
        Truncated 6606 elements.
    ]
}

Maybe fit tof and det id on one line

Mon 27-Apr-2020 07:20:29.0  ||  2020-04-27T07:20:29.0                                  ||

Timestamp: 1587972029000 || PartitionID:     0 || Offset:       4 || File Identifier: ev42 ||
{
    detector_id: [ 4779  4851 4770   ... Truncated 6606 elements. ]
    message_id: 5
    pulse_time: 1587972029000000000
    source_name: multiblade
    time_of_flight: [ 6265968 6518352 7145888   ... Truncated 6606 elements.]
}