@Override
    public void registerWebApiMethod() {
        // query broker's version
        innRegisterWebMethod("admin_query_server_version",
                "adminQueryBrokerVersion", false);
        // query consumer group's offset
        innRegisterWebMethod("admin_query_group_offset",
                "adminQueryCurrentGroupOffSet", false);
        // query consumer group's offset
        innRegisterWebMethod("admin_backup_group_offsets",
                "adminBackupCurrentGroupOffsets", false);
        // query snapshot message
        innRegisterWebMethod("admin_snapshot_message",
                "adminQuerySnapshotMessageSet", false);
        // query broker's all consumer info
        innRegisterWebMethod("admin_get_group_detail_info",
                "adminQueryBrokerAllConsumerInfo", false);
        // Replaced by admin_get_group_detail_info
        innRegisterWebMethod("admin_query_broker_all_consumer_info",
                "adminQueryBrokerAllConsumerInfo", false);
        // get memory store status info
        innRegisterWebMethod("admin_query_broker_memstore_info",
                "adminGetMemStoreStatisInfo", false);
        // query broker's all message store info
        innRegisterWebMethod("admin_query_broker_all_store_info",
                "adminQueryBrokerAllMessageStoreInfo", false);
        // query consumer register info
        innRegisterWebMethod("admin_get_partition_reginfo",
                "adminQueryConsumerRegisterInfo", false);
        // Replaced by admin_get_partition_reginfo
        innRegisterWebMethod("admin_query_consumer_regmap",
                "adminQueryConsumerRegisterInfo", false);
        // manual set offset
        innRegisterWebMethod("admin_manual_set_current_offset",
                "adminManualSetCurrentOffSet", false);
        // get all registered methods
        innRegisterWebMethod("admin_get_methods",
                "adminQueryAllMethods", false);
        // query topic's publish info
        innRegisterWebMethod("admin_query_pubinfo",
                "adminQueryPubInfo", false);
        // Query all consumer groups booked on the Broker.
        innRegisterWebMethod("admin_get_booked_groupname",
                "adminQueryBookedGroup", false);
        // Replaced by admin_get_booked_groupname
        innRegisterWebMethod("admin_query_group",
                "adminQueryBookedGroup", false);
        // query consumer group's offset
        innRegisterWebMethod("admin_query_offset",
                "adminQueryGroupOffSet", false);
        // clone consumer group's offset from source to target
        innRegisterWebMethod("admin_clone_offset",
                "adminCloneGroupOffSet", false);
        // set or update group's offset info
        innRegisterWebMethod("admin_set_offset",
                "adminSetGroupOffSet", false);
        // set or update group's offset info by history offset time
        innRegisterWebMethod("admin_set_offset_by_time",
                "adminSetGroupOffSetByTime", false);
        // remove group's offset info
        innRegisterWebMethod("admin_rmv_offset",
                "adminRemoveGroupOffSet", false);
        // get offset by consume timestamp
        innRegisterWebMethod("admin_get_group_history_offset",
                "adminQueryGroupHistoryOffSet", false);
        // get broker's metric information
        innRegisterWebMethod("admin_get_metrics_info",
                "adminGetMetricsInfo", false);
        // get message store stats info
        innRegisterWebMethod("admin_get_msgstore_stats",
                "adminGetMsgStoreStatsInfo", false);
        // Enable metrics statistics
        innRegisterWebMethod("admin_enable_stats",
                "adminEnableMetricsStats", false);
        // Disable metrics statistics
        innRegisterWebMethod("admin_disable_stats",
                "adminDisableMetricsStats", false);
        // Disable unnecessary statistics
        innRegisterWebMethod("admin_disable_all_stats",
                "adminDisableAllStats", false);
    }
Broker's web servlet. Used for admin operation, like query consumer's status etc.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/web/BrokerAdminServlet.java