Commit Graph
100 Commits
Author SHA1 Message Date
andsel 1141e9f7a1 Fixed failing tests after moving to H2 as default store 2018-11-18 10:58:25 +01:00
andsel cfa478067e Removed unused persistence classes 2018-11-14 22:13:42 +01:00
andsel a36d926460 Implemented H2 based SubscriptionsRepository 2018-11-13 22:50:02 +01:00
andsel 1ba9eb3613 Moved packages from old io.moquette.server to new io.moquette.broker 2018-11-11 18:06:13 +01:00
andsel 58fd90d33d Avoid multiple calls to initialize of AutoFlushHadler and extracted common config part MQTT pipeline 2018-11-11 17:27:33 +01:00
andsel 8f7b7df124 Removed perf module to be move in separate project, and disabled leak detector on bytbuf during test 2018-11-11 16:32:10 +01:00
andsel 8e17e99428 Fixed mqtt-bee dependency 2018-11-10 18:53:31 +01:00
andsel 284417ef50 Minor, fixed checkstyle and find bugs warns 2018-11-10 18:31:51 +01:00
andsel 9ceb26307e Fixed leaks 2018-11-10 17:28:54 +01:00
andsel 11bb0c6fa1 Minor, fixed code style 2018-11-10 14:37:14 +01:00
andsel dd8bad7480 Minor changes 2018-11-08 22:28:29 +01:00
andsel e10619813a Removed all the old ProtocolProcessor stuff 2018-11-08 22:18:11 +01:00
andsel 24e9d9f83c Added keepalive management to MQTTConnection 2018-11-08 22:15:46 +01:00
andsel 5efbe8e8bf Ported the config for SSL and websocket into new broker 2018-11-02 17:21:35 +01:00
andsel 176b986c47 Introduced interceptors notification into new broker 2018-11-02 16:49:50 +01:00
andsel a2266e5bbe Rearchitected the broker, switching from ProtocolProcessor and publisher to MQTTConnection, Session and PostOffice 2018-11-02 12:33:59 +01:00
Andrea Selva 0ad6ffdd3c Merge pull request #428 from ricardojlrufino/patch-1
Update MQTTMessageLogger.java
2018-08-11 11:23:00 +02:00
andsel 5d6435cf40 Merge branch 'split_protocol_processor_in_message_handlers' 2018-07-20 18:20:29 +02:00
andsel ba8ad02289 Dropper Hazelcast because Moquette is not designed to be clusterizable
Separated the connect/disconnect logic into ConnectHandler/DisconnectHandler

Moved the sending of CONN ACK after session creation/update

Moved the will message management inside the session class
2018-07-20 18:19:10 +02:00
andsel 7546a509da Dropper Hazelcast because Moquette is not designed to be clusterizable 2018-07-20 18:17:30 +02:00
Andrea Selva baecbbcb31 Merge pull request #422 from jcroig/master
Adds client remote address getter to ConnectionDescriptor class.
2018-07-19 17:32:29 +02:00
Andrea Selva 6bba40ff1c Merge pull request #421 from hylkevds/shutdownFix
Fixed executor not shutting down.
2018-07-19 17:29:15 +02:00
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
andsel 241a659f35 Minor just updated READMEs 2018-07-18 17:34:41 +02:00
andsel 5e4c70edce Fixed issue #412 adding a check on Topic's string length in processPublish 2018-06-28 23:26:56 +02:00
Andrea Selva 1aa6d9ca93 Merge pull request #417 from infovista/npe_unknown_packet
Fixed NPE while logging an unknown packet (Replaced with an IOException)
2018-06-28 21:59:07 +02:00
andsel 88e0ccf20e On retained republish message adapt the QoS to the one specified during subscription (fix issue #411) 2018-06-28 00:26:42 +02:00
andsel 99226aadbd Added dependency to Paho 1.2.0 2018-06-27 22:14:54 +02:00
andsel ea0ad14374 Fixed issue #410 reserved flag set in unsubscribe 2018-06-26 15:00:36 +02:00
andsel a6f133e058 Added test case for issue #415 2018-06-26 11:55:37 +02:00
andsel bb52d2c6d5 Minor, used same const in 2 different test classes 2018-06-26 11:55:37 +02:00
Andrea Selva 96703690e6 Merge pull request #414 from kiwigrid/feature/openssl_provider
enable the usage of Netty OpenSSL provider implementation and PKCS12 key stores
2018-06-25 15:03:39 +02:00
Andrea Selva 0fae292946 Merge pull request #413 from infovista/netty_upgrade
Upgrade netty to 4.1.22
2018-06-20 08:41:15 +02:00
andsel e824a22ae6 Fixed issue #408, separe slf4j api from impl, forcing broker to use only the api and exporting the impl in the distribution 2018-06-10 12:13:06 +02:00
Andrea Selva 0bf35a7b8d Updated readme for version 0.11 2018-05-17 23:54:50 +02:00
andsel 08d3e8d278 New dev cycle for 0.12 2018-05-17 23:43:33 +02:00
andsel ed7d596f12 Added javadocs to generated jars 2018-05-17 23:40:53 +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 b1aa0019b2 Fix issue #367, bad dougle dougle-quote char 2018-04-29 21:51:51 +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 d8e5998f21 Fixed package creation, missend bin/ folder 2018-04-27 15:08:15 +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 fc59b51558 Fix #381, avoid t print password on bad signin during connect 2018-04-27 13:08:12 +02:00
andsel c839c9eadd Minor 2018-04-27 12:46:23 +02:00
andsel 5456431dd4 Fixed bug #400 a transient session (clean=true) that tried to lookup session from persistent store 2018-04-27 12:44:48 +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
Andrea Selva 1a6dd8a259 Update about.html
Update the about after request from Eclipse Foundation
2018-04-16 18:12:48 +02:00
Andrea Selva 4307a90333 Merge pull request #392 from AndreasMager/gradle_update
Build tools update.
2018-03-12 19:40:30 +01:00
Andrea Selva 2fb475ae95 Merge pull request #389 from MBOIX/fix/issue_375
Fixed issues #375, #312
2018-02-11 18:39:57 +01:00
Andrea Selva 5d02ecdf94 Merge pull request #370 from ningg/master
feature: update Readme file.
2017-10-31 14:54:03 +01: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
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
Andrea Selva 7c4f902dbd Merge pull request #350 from AndreasMager/test_setup_improvement
Test setup improvement
2017-08-24 11:11:01 +02:00
Andrea Selva dbd1310eb3 Merge pull request #349 from AndreasMager/h2-fixes
Bugfix: H2 Storage
2017-08-23 21:21:55 +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
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
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
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
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
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
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
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
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
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