Commit Graph
144 Commits
Author SHA1 Message Date
andsel 8a03dd8131 Fixed issue #415 by adding a configuration flag to force subscription re-authentication on client connect 2018-07-19 17:23:18 +02:00
sbouchex ce018fe6a0 Fixed NPE while logging an unknown packet (Replaced with an IOException) 2018-06-28 14:13:52 +02:00
Maik Scheibler d50a291366 enable the usage of Netty OpenSSL provider implementation
Signed-off-by: Maik Scheibler <[email protected]>
2018-06-22 12:48:06 +02:00
andsel 08d3e8d278 New dev cycle for 0.12 2018-05-17 23:43:33 +02:00
andsel 0186de26c2 Bumped and released version 0.11 2018-05-16 23:22:24 +02:00
andsel 3c9cc5fa8e Fixed issue #380, now catch and print the full stack trace on error 2018-05-07 20:26:40 +02:00
andsel 34a2aca45e Minor, updated copyright date 2018-04-27 20:17:47 +02:00
andsel 6bbeba1612 Moved avay from ConnectionDescriptorStore unused methods and stuff that hasn't nothing about ConnectionDescriptor storing 2018-04-27 20:16:11 +02:00
andsel 99f0612209 Minor, fixed logging level to be more usefull for distribution 2018-04-27 15:56:26 +02:00
andsel 513d4d7996 Fixed #339, sets TCP_NODELAY options on the accepted child socket and not on the accepting 2018-04-27 14:27:58 +02:00
andsel cf5d619d34 Minor, just improved readability 2018-04-27 13:48:53 +02:00
andsel 08949370e6 Minor added slf4j-api deps to re-enable logging 2018-04-27 12:43:11 +02:00
andsel 033a428184 Fixed checkStyle and ErrorProne warns 2018-04-26 22:23:06 +02:00
Mick b780b71e5e Fixed issues #375, #312 2018-02-09 09:55:29 +01:00
andsel 1b272e5849 Big refactory on session management:
- introduced a unique point of access and management of sessions state (SessionRepository)
- separated behaiour for sessions with clean flag to false into DurableSession
- separated behaviour for session with clean flag to true into TransientSession
2017-10-14 17:37:26 +02:00
andsel 83be327bd3 Started dev cycle for 0.11 2017-06-29 16:59:56 +02:00
Andreas Mager 8e8a295200 broker/BrokerInterceptor: ByteBuf.retain & release added
broker/NettyMQTTHandler: ByteBuf.release added
broker/HazelcastListener: release added
broker/pom: leak detection enabled for surefire tests
broker: ReferenceCountUtil.release used
2017-06-27 16:28:38 +02:00
andsel 0480260a56 Bumped release 0.10 2017-06-27 11:33:49 +02:00
andsel ae9c6c7a48 Minor, marked bugsnag ChannelHandler to @Sharable 2017-06-25 12:33:10 +02:00
andsel 3ff3d44d35 Added bugsnag catcher to the pipeline 2017-06-25 11:11:56 +02:00
andsel ec951738b5 Added BugSnag error tracker 2017-06-20 22:12:42 +02:00
andsel 04a82c4a63 Added num of connected clients and subscription request/sec 2017-06-20 21:55:59 +02:00
Andreas Mager fb9765304c Java Version set to 1.8
anonymous types replaced by lambda's
Method references used instead of Lambda's
Explicit type replaced by <>
travis.yml updated to java 1.8
2017-06-19 17:07:05 +02:00
andsel e0104d99f9 Introduced DropwizardMetrics to push data on Librato 2017-06-18 11:04:24 +02:00
andsel 16a9a0ccd0 Fixed runtime loading of persistence implementation 2017-06-18 11:01:25 +02:00
andsel 949e531448 Switched to Netty 4.1.12 to use MqttMessageBuilders 2017-06-10 16:55:00 +02:00
Andreas Mager fcb7870a38 MemorySessionStore: Session class added
MemorySessionStore$Session: clientSession field added
MemorySessionStore#pendingAck: secondPhaseStore & inflightStore &
inboundFlightMeessageToGuid added

ClientSession#cleanup missed these messages
SubscriptionsDirectoryTest: fixed
SessionsStore#dropInFlightMessagesInSession: changed to cleanSession
2017-06-02 18:09:23 +02:00
Andreas Mager 29ef00f24e broker/NettyAcceptor: epoll added 2017-05-19 16:36:38 +02:00
andsel 2f25863578 Fixed failig message logger 2017-04-30 11:53:15 +02:00
andsel 406ffd10db Merged topic subscription search and publish into single MessagePublisher method 2017-04-29 10:59:34 +02:00
Andreas Mager 0247cfef9e broker/MQTTMessageLogger: log cases squashed 2017-04-25 16:07:01 +02:00
Andreas Mager 44a7c4d000 broker/MQTTMessageLogger: missing messages added 2017-04-25 16:03:20 +02:00
Andreas Mager 9221a87812 editorconfig: max line length set
max line length warnings removed
missing Copyright added
useless publics removed
unmaintainable Javadoc tags: @author removed
helper class warnings removed
field default value initialization removed
Multiple warnings removed
pref: checkstyle warnings removed
Checkstyle will fail the build process if it detects violations
switch default cases error logger added
2017-04-13 22:16:57 +02:00
andsel 6dc762f47f Introduced the FlightZone concept (inbound and outbound) and separated logic of storage system. 2017-04-09 19:22:50 +02:00
andsel 5c6889fbd5 Separated persistence layer, created submodule for MapDB persistence letting the broker use the in-memory message store 2017-04-01 16:21:34 +02:00
Andreas Mager dd106434ce broker/Server: ScheduledExecutorService moved from MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: tabs removed
broker/MapDBPersistentStore: bonding to Server removed
2017-03-22 23:16:14 +01:00
Andrea Selva 451b5db941 Merge pull request #280 from fjcyue/master
using reader idle to trigger the will message.
2017-03-22 22:20:22 +01:00
Andreas Mager 63d2f2dd69 broker/MapDBPersistentStore: Interfaces used for the Constructors
broker/IStore: Interface added for MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: class loader for store added
broker/ISessionsStore#mapToGuid: moved to IMessagesStore
broker/ProtocolProcessorBootstrapper: getter used for SessionStore
broker/Server: getter for processor added
broker/ProtocolProcessor: getter added for Stores
2017-03-20 13:04:14 +01:00
andsel ec6ec09cee Minor fixed comment (#281) 2017-03-19 22:01:23 +01:00
fjcyue 96fb6301a8 using reader idle to trigger the will message.
When client power off directly, the socket is broken and server may
still push messages, which just occurred TCP re-transmission at that
time, instead of raising an error immediately. This delayed the will
message.
2017-03-12 01:03:13 +08:00
Andreas Mager a2e51b2c31 broker/Topic: class added
broker/Topic: String Topics replaced by Topic class
broker/Topic#parseTopic: access set to private
broker/SubscriptionsStoreTest: topic tests moved to own class
broker/TopicTest: containsExactly used
broker/TopicTest: TopicAssert class added
broker/TopicTest$TopicAssert#containsToken: method added
broker/TopicTest$TopicAssert#matches: method added
2017-02-19 18:29:37 +01:00
Andreas Mager 725220a99b broker/ConnectionDescriptor: code formatter used 2017-02-01 17:25:08 +01:00
Andreas Mager b6949ead26 broker/MQTTMessageLogger: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager f75e140ddf broker/MeassageMetricsHandler: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 30da8c043d broker/MeassageMetricsCollector: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 74edc3031f broker/MeassageMetrics: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 723a1caf05 broker/BytesMetricsHandlerc: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 745f36bea3 broker/BytesMetricsCollector: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 2bb362825d broker/BytesMetrics: code formatter used 2017-02-01 17:13:38 +01:00
Andreas Mager 01cef587ec broker/NettyUtils: code formatter used 2017-02-01 17:13:38 +01:00