Andreas Mager
c5b7fd52c5
SubscriptionsStoreTest: assertj used for assertions
2017-01-30 15:51:50 +01:00
Andreas Mager
f460d6a230
SubscriptionsStoreTest: classname used for static access
2017-01-30 15:50:42 +01:00
Andreas Mager
504ac3055e
SubscriptionsStoreTest: whitespaces removed
2017-01-30 15:50:42 +01:00
Andreas Mager
1bc4ff4581
pom: assertj added to test deps
2017-01-30 15:48:53 +01:00
Andreas Mager
8bfe79ae87
PerformanceTest: netty layout changes fixed
2017-01-30 15:46:49 +01:00
Andreas Mager
1f12a9e529
checkstyle: package-info.java warning removed
2017-01-30 15:34:44 +01:00
Andreas Mager
a309361a2e
checkstyle: Copyright header adjusted
2017-01-30 15:34:43 +01:00
Andreas Mager
abef299633
Netty checkstyle.xml added
2017-01-30 15:34:43 +01:00
Andreas Mager
2c291fc1fc
pom: maven-checkstyle-plugin configured
2017-01-30 15:34:43 +01:00
andsel
1c64186a00
Switched from Moquette's MQTT codec to Netty's MQTT codec ones
2017-01-28 15:59:44 +01:00
Andrea Selva
07093ab0cb
Merge pull request #255 from AndreasMager/subscription-store-performance-test
...
Great thanks a lot
2017-01-28 15:46:38 +01:00
Andreas Mager
43b73501d7
PerformanceTest added for the SubscriptionsStore#matches
2017-01-27 12:54:36 +01:00
Andrea Selva
e3c4360b62
Merge pull request #256 from AndreasMager/memory-session-store-boost
...
MemorySessionStore#m_persistentSubscriptions: Map Layout changed
2017-01-26 21:43:16 +01:00
Andreas Mager
01e7465f0c
MemorySessionStore: HashMap replaced by Map Interface
2017-01-26 21:42:21 +01:00
Andreas Mager
6f7011c9f2
MemorySessionStore#m_persistentSubscriptions: Map Layout changed
...
If one clientid subscribes a lot of topics the old implementation
struggles with the for loops
2017-01-23 18:37:43 +01:00
andsel
716c9ac0a0
Minor on logging, removed ugly if(isDebugEnabled()) for debug logging, kept only when the toString generation could potentially take long, and trasformed in tracing logs. Moved Error to Warn log level
2017-01-18 23:28:11 +01:00
andsel
e295fcf9f2
Updated the list of contributors (not hexaustive)
2017-01-18 23:25:53 +01:00
andsel
60c28f1ecb
Minor, just setted autogenerated random serialVersionUID instead of bad 1L
2017-01-18 22:46:04 +01:00
andsel
9b164019ec
Fixed bad merge lines
2017-01-18 22:35:23 +01:00
andsel
e777c54414
Merge branch 'Sofia2-master' with lots of improvements in dispatching events to interceptors
2017-01-18 22:26:35 +01:00
andsel
97ddd1cd8b
Merge branch Sofia2 with lot of improvements
2017-01-17 21:40:59 +01:00
Luis Barrios
ebdee0bb44
Make netty channel timeout configurable
2017-01-15 14:40:08 +01:00
Luis Barrios
d4f977c0af
Make several low-level netty parameters configurable
2017-01-13 11:01:35 +01:00
Luis Barrios
aed1a80532
Update version to 0.9.1.sofia
2017-01-12 17:27:23 +01:00
Luis Barrios
e7f26e402b
Include message and bytes metrics in the status of the active MQTT connections.
2017-01-12 17:25:46 +01:00
Luis Barrios
d7d97a74d8
Add simple connection management capabilities to the broker. An external codebase will now be able to monitor and close the opened connections.
2017-01-12 17:00:18 +01:00
Luis Barrios
964efd341e
Add log traces
2017-01-12 13:11:08 +01:00
Luis Barrios
03ae299e36
Add log traces
2017-01-12 12:35:51 +01:00
andsel
a7b8c07d1a
Bumped dev cycle for 0.10
2017-01-11 22:21:03 +01:00
andsel
4162aae3a0
Bumped version 0.9
2017-01-11 22:06:24 +01:00
Luis Barrios
8b3f158a43
Improve logging. Remove duplicated code from QosPublishHandlers.
2017-01-11 18:42:30 +01:00
Luis Barrios
aac5b37485
Improve logging
2017-01-11 16:36:45 +01:00
Luis Barrios
731c7859ce
Merge branch 'bugfixes' of github.com:lbarriosh/moquette into bugfixes
2017-01-11 16:04:36 +01:00
Luis Barrios
953e038223
Improve logging
2017-01-11 16:04:23 +01:00
Luis Barrios
8be6e1e86b
Improve logging
2017-01-11 15:56:24 +01:00
Luis Barrios
1f1bfff4f7
Improve logging:
...
- When a MQTT message is received, we should only log it in debug level. It is better to log the actions performed in the protocol processor at the info level (they are more meaningful).
- Capture and log every exception raised while processing the message (including RuntimeExceptions).
2017-01-11 15:33:23 +01:00
Luis Barrios
4512eeff23
Add log traces to MoquetteIdleTimeoutHandler and to NettyAcceptor.
...
Fix NettyAcceptor shutdown: when the event loops take too long to stop, an IllegalStateException is raised. This leads to leaks, and prevents other
parts of the broker to be shut down properly.
2017-01-11 15:26:30 +01:00
Luis Barrios
e7ba2aee8e
Add debug log traces to AutoFlushHandler
2017-01-11 15:06:03 +01:00
Luis Barrios
4ae6893f81
Improve logging of ResourceLoaderConfig
2017-01-11 14:58:35 +01:00
Luis Barrios
1592a0676c
Improve logging of package io.moquette.server.config
2017-01-11 14:56:16 +01:00
Luis Barrios
7666a1634a
Handle publish errors properly in PersistentQueueMessageSender. Create a connection descriptor store to handle all the message delivery errors and to avoid
...
duplicating error handling code (i.e. the connection descriptors map is null, the connection descriptor does not exist, etc).
2017-01-11 11:23:24 +01:00
Luis Barrios
63d106e414
Improve log traces of the subscriptions store. Make sure that no "raw" RuntimeExceptions are thrown, and include proper log traces before any exception is raised.
2017-01-11 10:42:43 +01:00
Luis Barrios
8481fada93
Remove unused imports, raw types and some deprecated method calls..
2017-01-11 10:16:58 +01:00
Luis Barrios
933763486c
Remove rawtypes
2017-01-11 09:05:30 +01:00
Luis Barrios
c90893d817
Add missing method implementation
2017-01-10 17:29:37 +01:00
Luis Barrios
aea4f3709a
Make the size of the BrokerInterceptor thread pool configurable.
2017-01-10 17:23:15 +01:00
Luis Barrios
46fcdc0894
Allow InterceptHandler to specify the messages they can intercept. This allows us to improve the performance of the broker interceptor, and will make log traces more clear.
...
- Add methods to return an unique identifier and the supported message types at the InterceptHandler interface.
- Include a default implementation of the new methods in the AbstractInterceptHandler. By default, all the interceptors will be able to handle any message (same as before).
- Comment verifyNoMoreInteractions() call from the BrokerInterceptorTest.testAddAndRemoveInterceptHandler(). The removeInterceptHandler() method of the broker interceptor
polls the InterceptHandler, so an interaction will always exist after the call to onSubscribe().
2017-01-10 17:06:13 +01:00
Luis Barrios
1d75a25aa3
Update .gitignore file to exclude /osgi_test/target/ and /perf/target/
2017-01-10 14:31:17 +01:00
Luis Barrios
0786de54b2
Update .gitignore file to exclude /osgi_test/target/ and /perf/target/
2017-01-10 12:39:46 +01:00
andsel
ac8a11fefa
Removed the reference counter for stored messages
2017-01-09 21:59:09 +01:00