Commit Graph
1143 Commits
Author SHA1 Message Date
Andrea Selva 4e14655f45 Merge pull request #302 from AndreasMager/add-ByteBuf.release
Add ByteBuf.release
2017-06-27 16:50:05 +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 458840a0d7 Minor, fixed BinTray packages 2017-06-27 12:03:54 +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 c243d518a9 Minor, added real demo broker reference 2017-06-21 22:47:05 +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
andsel 53ec8e5b60 Removed the constraint on client queues to be BlockingQueue but simple Queue 2017-06-20 21:55:59 +02:00
Andrea Selva 1f3d39f4b1 Merge pull request #264 from AndreasMager/java-1.8
Java 1.8
2017-06-19 17:19:53 +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 555893d287 Switched to Java 8 2017-06-18 11:41:37 +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 e848ecf9bc Included MapDB and H2 persistence in distribution 2017-06-18 10:59:26 +02:00
andsel 949e531448 Switched to Netty 4.1.12 to use MqttMessageBuilders 2017-06-10 16:55:00 +02:00
Andrea Selva f4afd451ab Merge pull request #314 from hylkevds/master
Terminate interceptor on shutdown.
2017-06-10 16:00:12 +02:00
Andrea Selva d5a8e3f7b4 Merge pull request #321 from AndreasMager/add-session-class-for-memory-session-store
MemorySessionStore: Session class added
2017-06-05 08:57:14 +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
andsel 46a215bd2c Minor, fixed bad import 2017-06-02 10:21:26 +02:00
andsel d9ff81131c Merged topic subscription search and publish into single MessagePublisher method
First step on implementing H2 storage

Minor, fixed not imported class

Cleaned MessageStore interface to avoid duplication of methods used in couple. Switched from guid + message to move messages

Separated ISubscriptionsStore from ISessionStore

Implemented H2 queue
2017-06-02 10:13:34 +02:00
Andrea Selva c18c915dd2 Merge pull request #315 from AndreasMager/netty-epoll
Netty epoll system added, thanks
 @AndreasMager
2017-05-25 23:42:12 +02:00
Andreas Mager 29ef00f24e broker/NettyAcceptor: epoll added 2017-05-19 16:36:38 +02:00
Hylke van der Schaaf 76c2857d48 Terminate interceptor on shutdown. 2017-05-19 16:18:20 +02:00
andsel 2f25863578 Fixed failig message logger 2017-04-30 11:53:15 +02:00
andsel 85a787993c Added missing persist on QoS1 retained publish 2017-04-30 11:31:05 +02:00
andsel 406ffd10db Merged topic subscription search and publish into single MessagePublisher method 2017-04-29 10:59:34 +02:00
Andrea Selva 67ab24570e Merge pull request #301 from AndreasMager/missing-message-logging-added
Missing message logging added
2017-04-25 17:39:38 +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
Andrea Selva 3a0eb3bea1 Merge pull request #297 from AndreasMager/gc1
Gc1 garbage collector added to start scripts
2017-04-20 14:14:40 +02:00
Andreas Mager ce0265c7e7 distri/moquette.sh: gc1 parameters added
distri/moquette.sh: line delimeter changed to unix style
2017-04-20 13:47:02 +02:00
Andrea Selva c1694ec6e2 Merge pull request #296 from AndreasMager/checkstyle-improvements
checkstyle: NewlineAtEndOfFile fixed for windows
2017-04-14 14:08:15 +02:00
Andreas Mager a5a56e59c7 checkstyle: NewlineAtEndOfFile fixed for windows 2017-04-14 12:55:44 +02:00
Andrea Selva 9d23bf934e Merge pull request #295 from AndreasMager/warnings-removed
Checkstyle warnings removed
2017-04-14 09:04:19 +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
andsel 7ffb8fb43b Minor, just layout 2017-03-25 15:40:33 +01:00
andsel 9440352e56 Minor, fixes the output of mapdb data into targetdir (solves #288) 2017-03-25 15:38:10 +01:00
Andrea Selva f8282eff7e Merge pull request #278 from AndreasMager/move-executor
ScheduledExecutorService moved from MapDBPersistentStore to Server
2017-03-22 23:26:06 +01: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 6ca8108f1e Merge pull request #286 from fbeister/master
Prevent usage of MsgId 0 when wrapping around
2017-03-22 22:30:00 +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
Frederic Beister 76fb5cee72 Prevent usage of MsgId 0 when wrapping around 2017-03-21 14:26:13 +01:00
andsel c659a54158 Minor, just code layout 2017-03-20 21:58:18 +01:00
Andrea Selva 22b1fa2b0e Merge pull request #269 from AndreasMager/istore
Storage replacement with Config file
2017-03-20 13:52:39 +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