Commit Graph
1174 Commits
Author SHA1 Message Date
Andrea Selva 5d02ecdf94 Merge pull request #370 from ningg/master
feature: update Readme file.
2017-10-31 14:54:03 +01:00
Ning Guo f8c1a95b63 feature: update READEME format 2017-10-31 19:15:50 +08:00
Andrea Selva 95a8b313e5 Merge pull request #365 from mwilliford/master
Fix for CTrie TNode exception and other improvements to CTrie related
2017-10-25 09:05:41 +02:00
Marcus Williford 1bc6bdbbce Fix for CTrie TNode exception and other improvements to CTrie related
subscribe and unsubscribe issues

-  Added unit tests to cover a few more cases which I my system ran into
   under concurrent load testing.
-  Remove and detect TNode, implement more of
   http://bravenewgeek.com/breaking-and-entering-lose-the-lock-while-embracing-concurrency/
   related to TNode state
-  NOTE:  The graph is left with nodes which have no subscriptions, the
   TNode cleanup only cleanss the last node for now.  We should
   autoprune further up by placing more TNodes and pruning them off.
-  Adding concurrency Sets and Lists to CNode, because those ARE edited
   and read in parallel in our use-case.  Before a CNode is CAS
   replaced, more than 1 thread may be attempting to modify and read the
   subscriptions and children CNode datastructures, and I hit this
   during testing.
-  Fixed an issue where we unsubscribe all sub-topics if an unsubscribe
   is sent on a parent node.
-  Fixed an issue with unsubscribing multiple times when no subscrition
   exists, we should handle this gracefully.
2017-10-24 09:45:12 -07:00
andsel 3293478dd7 Fixed issue #362 2017-10-20 12:27:50 +02:00
andsel ba2b8b44d3 Fixed issue #360, used a DB connection pool instead of long lasting Drivers connections 2017-10-20 12:25:10 +02:00
andsel f7b213a677 Added tracking of closed session time and expired session cleaner for clients that never reconnects but had clean session flag = false 2017-10-20 11:48:34 +02:00
Andrea Selva a49792adf5 Added GitHub Issue template 2017-10-20 11:45:43 +02: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 6bacce6cec Removed project moquette-embedded-test from settings 2017-08-26 16:47:24 +02:00
andsel 6f533d23c6 Removed OSGi support, too buggy 2017-08-26 16:30:37 +02:00
Andrea Selva c367100e6b Merge pull request #345 from AndreasMager/gradle
Switched build from Maven to Gradle
2017-08-24 19:20:38 +02:00
Andreas Mager e8b105fa90 switch to gradle
gradle files added
gradle: plugins added
build: files added
.travis.yml: gradle cache stored
distribution: tar and zip file stuff added
broker/build.gradle: osgi plugin added
build: bintray upload added
pom: files removed
distribution: assembly.xml removed
gradle: test ouput added to sub builds
.editorconfig: gradle files added
build: wrapper task added
osgi: added to h2_ and mapdb_storage
gradle: files cleaned
build.gradle: jars used for tar/zip
2017-08-24 17:50:59 +02:00
Andrea Selva 7c4f902dbd Merge pull request #350 from AndreasMager/test_setup_improvement
Test setup improvement
2017-08-24 11:11:01 +02:00
Andreas Mager 4d59a54ad0 ServerIntegrationSSLTest: System properties saved
ServerLowlevelMessagesIntegrationTests: timeouts raised

osgi: log4j.properties added
MoquetteOsgiTest: test imporved

storage packages will checked too
The state must be active
osgi: README added for development
log4j: fixed
broker/pom.xml: dependencie added osgi config added
osgi_test/pom: dependencies added

MoquetteOsgiTest: test fixed
2017-08-23 21:47:09 +02:00
Andrea Selva dbd1310eb3 Merge pull request #349 from AndreasMager/h2-fixes
Bugfix: H2 Storage
2017-08-23 21:21:55 +02:00
Andreas Mager 52415c5561 h2-storage: test folder moved
H2MessagesStore: fixed retain messages
H2MessagesStore: code formater for travis rebuild
H2PersistentQueueTest: performance test disabled
2017-08-23 13:32:45 +02:00
Andrea Selva ed87abaaaa Merge pull request #340 from nMoncho/ACL_COMMENTS
#310 - Allow for topic/patterns with '#' and end of line comments
2017-08-23 10:02:29 +02:00
Gustavo De Micheli 89174178c6 #310 - Allow for topic/patterns with '#' and end of line comments 2017-08-23 09:43:51 +02:00
Andrea Selva d6aca1d2a1 Merge pull request #342 from hylkevds/master
Terminate processor on shutdown.
2017-08-19 14:36:46 +02:00
Andrea Selva 898ebab6d8 Merge pull request #343 from Dolychuck/issue#171
Fix issue #171
2017-08-19 14:33:03 +02:00
Dolychuck a62f0aa6f3 Fix issue #171 2017-08-05 12:05:45 -07:00
Hylke van der Schaaf 55168e24db Terminate processor on shutdown. 2017-08-03 11:43:01 +02:00
andsel d7023ae81b Extracted common subscriptions directory interface and switched to CTrie inspired implementation 2017-07-29 17:10:01 +02:00
Andrea Selva c81fab62e6 Merge pull request #334 from AndreasMager/fix-clean-session-logging
MemorySessionStore#cleanSession: fixed logging
2017-07-11 10:03:09 +02:00
Andreas Mager fcfce6f2ea MemorySessionStore#cleanSession: fixed logging
Fixes: #333
2017-07-11 09:58:31 +02:00
Andrea Selva 14091f142d Merge pull request #332 from AndreasMager/fix_bat_file
distributon/moquette.bat: comments fixed
2017-07-11 09:35:32 +02:00
Andreas Mager 67412b082f distributon/moquette.bat: comments fixed 2017-07-10 13:31:33 +02:00
andsel 23b903e2f2 - moved and cleaned many part of Paho integration tests to unit tests
- fixed bug that on conflicting connect close old channel but not dropped from ConnectionDescriptors cache
2017-06-29 17:00:14 +02:00
andsel 03c4874a50 Moved tests from integration to unit and extracted and simplified common test part in ProtocolProcessor unit test 2017-06-29 16:59:56 +02:00
andsel 83be327bd3 Started dev cycle for 0.11 2017-06-29 16:59:56 +02:00
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