Registry / networking / netty-codec-mqtt

netty-codec-mqtt

JSON →
library4.1.115.Finaljavamavenunverified

Netty is an asynchronous event-driven network framework for building high-performance protocol servers and clients, with MQTT codec support.

<dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-mqtt</artifactId> <version>4.1.115.Final</version> </dependency>
INSTALL
IMPORT
SIG · NETTY-CODEC-MQTT
N
netty-codec-mqtt
networkingjavav4.1.115.Final
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MqttDecoder
io.netty.handler.codec.mqtt.MqttDecoder

Adds an MQTT decoder to a Netty channel pipeline.

import io.netty.handler.codec.mqtt.MqttDecoder; import io.netty.channel.ChannelInitializer; import io.netty.channel.socket.SocketChannel; public class Main { public static void main(String[] args) { ChannelInitializer<SocketChannel> initializer = new ChannelInitializer<SocketChannel>() { @Override protected void initChannel(SocketChannel ch) { ch.pipeline().addLast(new MqttDecoder()); System.out.println("MqttDecoder added to pipeline"); } }; } }
Debug
Known issues
breakingNetty 4.1.x has breaking changes in channel handler lifecycle compared to 4.0.x.
fix
Ensure your handler implementations use the correct method signatures (e.g., channelRead instead of messageReceived).
affects: >=4.1.0
Upgrade
Version history
4.1.115.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
netty-codec-mqtt — mvn dependency:get netty-codec-mqtt · libregistry