Repository navigation
Support for High Availability - #18
Conversation
…sion of High Availability.
mdspielman
left a comment
There was a problem hiding this comment.
Please see code review. Several changes suggested.
|
|
||
| <p>Solace Messaging is available in a number of network and deployment environments including Public/Private PaaS, Public/Private IaaS, LAN, WAN, Web, and Wireless ensuring your applications will have Solace Messaging available to them wherever they are deployed.</p> | ||
|
|
||
| <p>Solace Messaging supports High Availability configurations, where each message router is assigned backup that takes over in case of failures. Details about how to use this are in the Java Application tutorial. |
There was a problem hiding this comment.
Typo. Should be "each message router is assigned a backup
| ``` | ||
|
|
||
| To demonstrate the application we will make the application send a message to itself. Then we will read the message back to confirm the successful delivery of the message : | ||
| To demonstrate the application we will make the application send a message to itself. Then we will read the message back to confirm the successful delivery of the message: |
There was a problem hiding this comment.
Odd phrasing. Suggest updating to "To demonstrate Solace messaging, the application will send a message to itself"...
| channelProperties.setConnectRetriesPerHost(20); | ||
| } | ||
|
|
||
| try { |
There was a problem hiding this comment.
You have a formatting issue with tabs and spaces. Can we convert all tabs to spaces.
| // maven { | ||
| // url "http://apps-jenkins:9090/nexus/content/repositories/snapshots/" | ||
| // } | ||
| } |
There was a problem hiding this comment.
Can we clean up the local debug code.
| channelProperties.setReconnectRetryWaitInMillis(3000); | ||
| channelProperties.setConnectRetriesPerHost(20); | ||
| } | ||
|
|
There was a problem hiding this comment.
Same tabs to spaces issue here.
| logger.info("Solace client initializing and using SolaceMessagingInfo: " + solaceMessagingServiceInfo); | ||
|
|
||
| String host = solaceMessagingServiceInfo.getSmfHost(); | ||
|
|
There was a problem hiding this comment.
Remove this code and set directly as we're doing for other properties.
There was a problem hiding this comment.
We do this so that we can search for the comma. See the next comment.
|
|
||
| // If using High Availability, the host property will be a comma-separated list of two hosts. | ||
| if (host.contains(",")) { | ||
| // Recommended values for High Availability automatic reconnects. |
There was a problem hiding this comment.
Can we add a query to the SolaceMessagingServiceInfo to ask if it HA. Users shouldn't have to parse for a ","
There was a problem hiding this comment.
As discussed, we'll create a bug to add this feature.
| channelProperties.setReconnectRetries(5); | ||
| channelProperties.setReconnectRetryWaitInMillis(3000); | ||
| channelProperties.setConnectRetriesPerHost(20); | ||
| } |
There was a problem hiding this comment.
Can we push this code into the SolaceMessagingServiceInfo class as a convenience method?
There was a problem hiding this comment.
I'll put that in with the same new bug mentioned above.
* Template update for new look and feel. (#5) * Adopt a tile layout on the main docs pages. Adopt the improved CSS for the tutorial pages. * Removed extra tutorial image no longer needed * Added spacing on top of h2 headers. Used intro.html to keep generic intro text. Put tag line in config.yml for site summary * Fixed hover effect issue (#6) * changed hover effect on card to move up instead of down to match datago.io (#7) * Removed round corners (#8) * Add solace-cloud style header and footer. (#9) * Add solace-cloud style header and footer. * More padding for the tutorials * Padding was missed. * Adding favicon * Update the api links for solace cloud. (#12) * Update the api links for solace cloud. * Arasmy/datago1066 (#13) * Change solace cloud links to use the protocol of the site they're on. CSS files that referenced HTTP links. Fixed logo loading over HTTPS. Fixed cards when screen width is less than 993px. * Added JavaRTO to 'Pick Another API' dropdown on dev.solace and solace cloud * Fixed all link on config to use the protocol of the site they're on (#14) * Updates to support adding tutorials directly into the Solace Developer Portal. * Added header and footer to samples matching to the current one on dev.solace.com. Project now understands the Solace cloud delivery target vs dev portal so that we can deliver different CSS to Solace cloud vs dev portal. * Added dev-solace css file * Fixed footer to match dev solace website: * Removed unused css stylesheet and imported ones that are not served on https. Change css import to use the same protocol of the site. Did some code clean Up. (#16) * Fixed hover effect of the card overriding hover effect of the header menu on dev solace website (#17) * Added support of passing in svg required dimensions as tutorial paramter (#18) * Updated download link on header and footer of samples on dev solace website (#19) * Rebranding samples for solace cloud website (#20) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Arasmy/rebranding (#21) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Made some css improvement to match the solace cloud and dev solace look * changed hostname back to cloud.solace.com * fixed hostname of the dev.solace.com * Arasmy/rebranding (#22) * Fixed issue with solace template link to github being hardcoded * Arasmy/rebranding (#23) * Rebranding samples for solace cloud website * Rebranding of samples for the dev solace website * Made some css improvement to match the solace cloud and dev solace look * changed hostname back to cloud.solace.com * fixed hostname of the dev.solace.com * Fixed issue with solace template link to github being hardcoded * fixed 2 minor bugs on the header and foot of the solace cloud sample (#24) * Added back the intro to the sample
No description provided.