@Override
	protected void doHealthCheck(Health.Builder builder) throws Exception {
		if (InstrumentationManager.getHealthInstrumentations().stream()
				.allMatch(Instrumentation::isUp)) {
			builder.up();
			return;
		}
		if (InstrumentationManager.getHealthInstrumentations().stream()
				.allMatch(Instrumentation::isOutOfService)) {
			builder.outOfService();
			return;
		}
		builder.down();
		InstrumentationManager.getHealthInstrumentations().stream()
				.filter(instrumentation -> !instrumentation.isStarted())
				.forEach(instrumentation1 -> builder
						.withException(instrumentation1.getStartException()));
	}
@author Timur Valiev
@author <a href="mailto:fangjian0423@gmail.com">Jim</a>
spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/actuator/RocketMQBinderHealthIndicator.java