public static Attributes createAttributes(final int weight, final String status, final String url) {
        return Attributes.newBuilder()
                .set(WEIGHT_KEY, new Ref<>(weight))
                .set(STATSU_KEY, new Ref<>(status))
                .set(URL_KEY, new Ref<>(url))
                .build();
    }
Create Attributes.

@param weight weight
@param status status
@param url url
@return Attributes attributes
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-grpc/src/main/java/org/apache/shenyu/plugin/grpc/loadbalance/SubChannels.java