Reliable Topic Stats





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















We have a Hazelcast cluster (v 3.10.1) running on two windows servers, with multiple java clients connected.
We are using Maps, Queues, Topics and Reliable Topics all of which are working. However in Management Center we are not getting any stats for the reliable topic.



Initially we did not explicitly declare the reliable topic in the hazelcast xml, allowing it to be dynamically created, however the default has
<statistics-enabled>true</statistics-enabled>.
Since we were not getting any stats, we explicitly declared the topic however we are still not receiving any stats.



All other structures (maps, queues, topics) are showing stats correctly.



EDIT
Running the following through the man center scripting shows an increment in the cluster publish stats when explictly called through the scripting directly



function viewStats(topicName) {
var topic = hazelcast.getReliableTopic(topicName);
topic.publish("foo");
var topicStats = topic.getLocalTopicStats()
return 'Stats => ' + topicStats;
}
viewStats(["YOUR_TOPIC_NAME"]);


However publish actions made by remote java clients are not reflected. We have already proved via debugging on the clients that the topic is working and data is being published, but it is not reflected in the man center stats










share|improve this question

























  • Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

    – Alparslan Avci
    Nov 23 '18 at 16:41











  • Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

    – Pete
    Nov 23 '18 at 16:44











  • Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

    – Alparslan Avci
    Nov 23 '18 at 17:13











  • Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

    – Pete
    Nov 23 '18 at 18:25


















0















We have a Hazelcast cluster (v 3.10.1) running on two windows servers, with multiple java clients connected.
We are using Maps, Queues, Topics and Reliable Topics all of which are working. However in Management Center we are not getting any stats for the reliable topic.



Initially we did not explicitly declare the reliable topic in the hazelcast xml, allowing it to be dynamically created, however the default has
<statistics-enabled>true</statistics-enabled>.
Since we were not getting any stats, we explicitly declared the topic however we are still not receiving any stats.



All other structures (maps, queues, topics) are showing stats correctly.



EDIT
Running the following through the man center scripting shows an increment in the cluster publish stats when explictly called through the scripting directly



function viewStats(topicName) {
var topic = hazelcast.getReliableTopic(topicName);
topic.publish("foo");
var topicStats = topic.getLocalTopicStats()
return 'Stats => ' + topicStats;
}
viewStats(["YOUR_TOPIC_NAME"]);


However publish actions made by remote java clients are not reflected. We have already proved via debugging on the clients that the topic is working and data is being published, but it is not reflected in the man center stats










share|improve this question

























  • Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

    – Alparslan Avci
    Nov 23 '18 at 16:41











  • Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

    – Pete
    Nov 23 '18 at 16:44











  • Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

    – Alparslan Avci
    Nov 23 '18 at 17:13











  • Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

    – Pete
    Nov 23 '18 at 18:25














0












0








0








We have a Hazelcast cluster (v 3.10.1) running on two windows servers, with multiple java clients connected.
We are using Maps, Queues, Topics and Reliable Topics all of which are working. However in Management Center we are not getting any stats for the reliable topic.



Initially we did not explicitly declare the reliable topic in the hazelcast xml, allowing it to be dynamically created, however the default has
<statistics-enabled>true</statistics-enabled>.
Since we were not getting any stats, we explicitly declared the topic however we are still not receiving any stats.



All other structures (maps, queues, topics) are showing stats correctly.



EDIT
Running the following through the man center scripting shows an increment in the cluster publish stats when explictly called through the scripting directly



function viewStats(topicName) {
var topic = hazelcast.getReliableTopic(topicName);
topic.publish("foo");
var topicStats = topic.getLocalTopicStats()
return 'Stats => ' + topicStats;
}
viewStats(["YOUR_TOPIC_NAME"]);


However publish actions made by remote java clients are not reflected. We have already proved via debugging on the clients that the topic is working and data is being published, but it is not reflected in the man center stats










share|improve this question
















We have a Hazelcast cluster (v 3.10.1) running on two windows servers, with multiple java clients connected.
We are using Maps, Queues, Topics and Reliable Topics all of which are working. However in Management Center we are not getting any stats for the reliable topic.



Initially we did not explicitly declare the reliable topic in the hazelcast xml, allowing it to be dynamically created, however the default has
<statistics-enabled>true</statistics-enabled>.
Since we were not getting any stats, we explicitly declared the topic however we are still not receiving any stats.



All other structures (maps, queues, topics) are showing stats correctly.



EDIT
Running the following through the man center scripting shows an increment in the cluster publish stats when explictly called through the scripting directly



function viewStats(topicName) {
var topic = hazelcast.getReliableTopic(topicName);
topic.publish("foo");
var topicStats = topic.getLocalTopicStats()
return 'Stats => ' + topicStats;
}
viewStats(["YOUR_TOPIC_NAME"]);


However publish actions made by remote java clients are not reflected. We have already proved via debugging on the clients that the topic is working and data is being published, but it is not reflected in the man center stats







hazelcast






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 '18 at 18:39







Pete

















asked Nov 23 '18 at 16:33









PetePete

52




52













  • Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

    – Alparslan Avci
    Nov 23 '18 at 16:41











  • Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

    – Pete
    Nov 23 '18 at 16:44











  • Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

    – Alparslan Avci
    Nov 23 '18 at 17:13











  • Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

    – Pete
    Nov 23 '18 at 18:25



















  • Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

    – Alparslan Avci
    Nov 23 '18 at 16:41











  • Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

    – Pete
    Nov 23 '18 at 16:44











  • Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

    – Alparslan Avci
    Nov 23 '18 at 17:13











  • Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

    – Pete
    Nov 23 '18 at 18:25

















Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

– Alparslan Avci
Nov 23 '18 at 16:41





Do you see the name of the reliable topic in the Reliable Topics list in Management Center? Or you see and you have zeros as stats?

– Alparslan Avci
Nov 23 '18 at 16:41













Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

– Pete
Nov 23 '18 at 16:44





Yes the reliable topic is displayed, with both cluster members listed. However publishes and receives is 0 for both members.

– Pete
Nov 23 '18 at 16:44













Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

– Alparslan Avci
Nov 23 '18 at 17:13





Can you please share the result of the following script after running on Management Center's Scripting tab? gist.github.com/alparslanavci/d864c9df50ff4e2fb0922d979485b7b0

– Alparslan Avci
Nov 23 '18 at 17:13













Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

– Pete
Nov 23 '18 at 18:25





Response from [xxxxxxx]:5701: Stats => LocalTopicStatsImpl{creationTime=1542989061370, totalPublishes=0, totalReceivedMessages=0} Response from [yyyyyyy]:5701: Stats => LocalTopicStatsImpl{creationTime=1542990117898, totalPublishes=0, totalReceivedMessages=0}

– Pete
Nov 23 '18 at 18:25












1 Answer
1






active

oldest

votes


















0














This behaviour might be intentional, since the LocalTopicStats are local to the member and receivedCount and publishedCount are local stats for the client when the operations are performed from the client.



I created a Github issue on Hazelcast repository regarding this behaviour. Please follow the discussion over there.






share|improve this answer
























  • Thanks for the feedback

    – Pete
    Nov 23 '18 at 19:52












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53450206%2freliable-topic-stats%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














This behaviour might be intentional, since the LocalTopicStats are local to the member and receivedCount and publishedCount are local stats for the client when the operations are performed from the client.



I created a Github issue on Hazelcast repository regarding this behaviour. Please follow the discussion over there.






share|improve this answer
























  • Thanks for the feedback

    – Pete
    Nov 23 '18 at 19:52
















0














This behaviour might be intentional, since the LocalTopicStats are local to the member and receivedCount and publishedCount are local stats for the client when the operations are performed from the client.



I created a Github issue on Hazelcast repository regarding this behaviour. Please follow the discussion over there.






share|improve this answer
























  • Thanks for the feedback

    – Pete
    Nov 23 '18 at 19:52














0












0








0







This behaviour might be intentional, since the LocalTopicStats are local to the member and receivedCount and publishedCount are local stats for the client when the operations are performed from the client.



I created a Github issue on Hazelcast repository regarding this behaviour. Please follow the discussion over there.






share|improve this answer













This behaviour might be intentional, since the LocalTopicStats are local to the member and receivedCount and publishedCount are local stats for the client when the operations are performed from the client.



I created a Github issue on Hazelcast repository regarding this behaviour. Please follow the discussion over there.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 23 '18 at 19:41









Alparslan AvciAlparslan Avci

71135




71135













  • Thanks for the feedback

    – Pete
    Nov 23 '18 at 19:52



















  • Thanks for the feedback

    – Pete
    Nov 23 '18 at 19:52

















Thanks for the feedback

– Pete
Nov 23 '18 at 19:52





Thanks for the feedback

– Pete
Nov 23 '18 at 19:52




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53450206%2freliable-topic-stats%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

If I really need a card on my start hand, how many mulligans make sense? [duplicate]

Alcedinidae

Can an atomic nucleus contain both particles and antiparticles? [duplicate]