Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.49 KB

File metadata and controls

74 lines (49 loc) · 2.49 KB

Bridge for Shaded SLF4J API of Apache RocketMQ

License build Maven Central

Introduction

This project bridges standard SLF4J API to the shaded SLF4j API revealed in rocketmq-logging.

Basically, the project hijacks the implementation of the shaded SLF4J and delegates it to implement the standard SLF4j API.

Requirements

  • Java 1.8 or later

Getting Started

Add the following dependency to your project. Remember to:

  • Replace ROCKETMQ-SHADED-SLF4J-API-BRIDGE-VERSION with the latest release .
<dependencies>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>2.0.3</version>
    </dependency>
    <dependency>
        <groupId>io.github.aliyunmq</groupId>
        <artifactId>rocketmq-shaded-slf4j-api-bridge</artifactId>
        <version>ROCKETMQ-SHADED-SLF4J-API-BRIDGE-VERSION</version>
    </dependency>
</dependencies>

Manual Release

Set the password in your settings.xml for repositories: sonatype-nexus-snapshots-aliyunmq and sonatype-nexus-staging-aliyunmq, then execute the command below:

mvn clean deploy -Prelease

Sign in nexus repository manager and check the artifact, then determine whether to release it.

Related Projects

License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation