Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add SHOW TOPICS EXTENDED #3183

Merged

Commits on Aug 7, 2019

  1. feat: Add SHOW TOPICS EXTENDED

    Fixes confluentinc#1268
    
    BREAKING CHANGE: "SHOW TOPICS" no longer includes the "Consumers" and
    "ConsumerGroups" columns. You can use "SHOW TOPICS EXTENDED" to get the
    output previous emitted from "SHOW TOPICS". See below for examples.
    
    This change splits "SHOW TOPICS" into two commands:
    
    1. "SHOW TOPICS EXTENDED", which shows what was previously shown by
    "SHOW TOPICS". Sample output:
    
    ```
        ksql> show topics extended;
    
         Kafka Topic                                                                                   | Partitions | Partition Replicas | Consumers | ConsumerGroups
        --------------------------------------------------------------------------------------------------------------------------------------------------------------
         _confluent-command                                                                            | 1          | 1                  | 1         | 1
         _confluent-controlcenter-5-3-0-1-actual-group-consumption-rekey                               | 1          | 1                  | 1         | 1
    ```
    
    2. "SHOW TOPICS", which now no longer queries consumer groups and their
    active consumers. Sample output:
    
    ```
        ksql> show topics;
    
         Kafka Topic                                                                                   | Partitions | Partition Replicas
        ---------------------------------------------------------------------------------------------------------------------------------
         _confluent-command                                                                            | 1          | 1
         _confluent-controlcenter-5-3-0-1-actual-group-consumption-rekey                               | 1          | 1
    ```
    
    This changeset primarily involved renaming KafkaTopicXXX classes to
    KafkaTopicXXXExtended and then trimming out the consumer group info from
    the original KafkaTopicXXX classes.
    cpettitt-confluent committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    a6fe3b7 View commit details
    Browse the repository at this point in the history