Skip to content

Introduce a new "expand" api to request all connectors status and config info #184

Description

@harveyyue

The expand url example:
localhost:8083/connectors/expand=status&expand=info
localhost:8083/connectors/expand=status
localhost:8083/connectors/expand=info

The status expand response json:

{
    "test_avro_cache5_source_v2": {
        "status": {
            "name": "test_avro_cache5_source_v2",
            "connector": {
                "state": "RUNNING",
                "worker_id": "127.0.0.1:8083"
            },
            "tasks": [
                {
                    "id": 0,
                    "state": "RUNNING",
                    "worker_id": "127.0.0.1:8083"
                }
            ],
            "type": "source"
        }
    },
    "test_avro_strategy_source": {
        "status": {
            "name": "test_avro_strategy_source",
            "connector": {
                "state": "RUNNING",
                "worker_id": "127.0.0.1:8083"
            },
            "tasks": [
                {
                    "id": 0,
                    "state": "RUNNING",
                    "worker_id": "127.0.0.1:8083"
                }
            ],
            "type": "source"
        }
    },
    "test_avro_source_v2": {
        "status": {
            "name": "test_avro_source_v2",
            "connector": {
                "state": "RUNNING",
                "worker_id": "127.0.0.1:8083"
            },
            "tasks": [
                {
                    "id": 0,
                    "state": "RUNNING",
                    "worker_id": "127.0.0.1:8083"
                }
            ],
            "type": "source"
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions