Skip to content

aliyunmq/rocketmq-slf4j-api-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bridge for SLF4J API of Apache RocketMQ

License build Maven Central

Introduction

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

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

Requirements

  • Java 1.8 or later

Getting Started

Add the following dependency to your project. Remember to:

<dependencies>
    <dependency>
        <groupId>io.github.aliyunmq</groupId>
        <artifactId>rocketmq-slf4j-api</artifactId>
        <version>ROCKETMQ-LOGGING-VERSION</version>
    </dependency>
    <dependency>
        <groupId>io.github.aliyunmq</groupId>
        <artifactId>rocketmq-slf4j-api-bridge</artifactId>
        <version>ROCKETMQ-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