topic type: dynamic or static

This commit is contained in:
Ery Lee 2015-01-20 15:48:26 +08:00
parent 1e93f5f513
commit 3c44aeecb8
3 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,7 @@ Change: fix emqtt_pubsub.erl to match '#', '+'
Tests: emqtt_topic_tests.erl add more test cases
v0.3.0-alpha (2015-01-18)
------------------------

View File

@ -39,7 +39,7 @@
-record(topic_trie_node, {
node_id :: binary() | atom(),
edge_count = 0 :: non_neg_integer(),
topic :: binary()
topic :: binary(),
type = dynamic :: dynamic | static
}).

View File

@ -32,7 +32,9 @@
]}
]},
{emqtt, [
{auth, {anonymous, []}}, %internal, anonymous
%Authetication. Internal, Anonymous Default.
{auth, {anonymous, []}},
{access, []},
{session, [
{expires, 1},
{max_queue, 1000},