public boolean stopSource(int id) {
        Preconditions.expectTrue(id > 0, String.format("sourceId is excepted bigger than 0 but got %d", id));
        Response<Boolean> response = ClientUtils.executeHttpCall(streamSourceApi.stopSource(id));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Stop data source information by id.
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/StreamSourceClient.java