tag:blogger.com,1999:blog-43051052343763708152024-03-19T14:51:19.115+05:30Liferay Savvy,Liferay 7, Liferay DXP, Liferay 7 OSGi, Liferay 6.2, Liferay Technologies, Liferay Portal ,Portlet Technology,Liferay,Portal,JSR168,JSR286,AUI,Alloy UI,Portlet,Hook,Theme,Layout,webs,Liferay Savvy,Liferay Spring,Liferay JSF,Liferay Struts,tomcat,plugins,liferay 6.1,Liferay 6.2,liferay permissions,liferay actions,liferay ipc,liferay aui,liferay jsp,portalproperties,liferay webservices,liferay json webservices,liferay soap services,liferay wsdl,liferay ws client,liferay wcMeera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.comBlogger254125tag:blogger.com,1999:blog-4305105234376370815.post-14181478014932080152021-08-01T20:58:00.002+05:302021-08-01T23:06:06.439+05:30Liferay Dynamic Schedule Jobs Implementation<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Liferay is providing scheduler API to create schedule
job in Liferay Portal Applications. Liferay internally uses the Quartz
scheduler engine. Liferay also uses the Message Bus implementation with scheduler
API.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipJM5jsejHu7nE7yHk4RGbfz72-Oo2EBMfw9IcMcwBN3vKoO1PM5sOtty0ve4ZnyY3yDysgHELrKpHLiK23cHRqpMPqqhC6Ik0UYkSNxGbiYcC2xiIPNZfhCpqFdaMjs6BL69HaLqgEEFo/s1263/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="718" data-original-width="1263" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipJM5jsejHu7nE7yHk4RGbfz72-Oo2EBMfw9IcMcwBN3vKoO1PM5sOtty0ve4ZnyY3yDysgHELrKpHLiK23cHRqpMPqqhC6Ik0UYkSNxGbiYcC2xiIPNZfhCpqFdaMjs6BL69HaLqgEEFo/w640-h364/0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software Stack</span></u></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr>
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay-ce-portal-7.4.1-ga2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> </span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Below Article will provide more details on Liferay
Scheduler<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/working-with-liferay-scheduler.html" target="_blank">http://www.liferaysavvy.com/2021/07/working-with-liferay-scheduler.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay API is using Message Bus for every scheduler job
and following article will provide more detail about Liferay Message Bus.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/working-with-liferay-message-bus.html" target="_blank">http://www.liferaysavvy.com/2021/07/working-with-liferay-message-bus.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-message-bus-implementation.html" target="_blank">http://www.liferaysavvy.com/2021/07/liferay-message-bus-implementation.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are the steps to implement Dynamic schedule
jobs in Liferay<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Message Bus Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Listener with Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Scheduler job and tag to Destination</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><u>Create Message Bus Destination</u><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create destination have following steps in OSGi module<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination Configuration</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Manage the Destination Object</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination Configuration<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Message Bus API is providing <b>DestinationConfiguration</b>
class to create destination configuration. We can create different types of
destination as it specified as below.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Parallel Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Serial Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_SERIAL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_SERIAL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Synchronous Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_SYNCHRONOUS</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_SYNCHRONOUS</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">DestinationFactory</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
will create destination based on configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Destination </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationFactory</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.createDestination(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Destination as OSGi Service<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">ServiceRegistration</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><Destination>
is used to register destination as OSGi service.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_bundleContext</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.registerService(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>Destination.</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationProperties</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.info(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"Destination is registred with Service Regisration
.."</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Manage the Destination Object<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have to manage destination object so that it can
deregister when bundle is deactivated.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Dictionary<String, Object> </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationProperties</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>HashMapDictionaryBuilder.<String,
Object><i>put</i>(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"destination.name"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getName()).build();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destroy Destination<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Deactivate</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">protected</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> deactivate() {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">if</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> != </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">null</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>Destination
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_bundleContext</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getService(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getReference());</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.unregister();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.destroy();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setting Thread Pool for destination<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setMaximumQueueSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_MAXIMUM_QUEUE_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setWorkersCoreSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_CORE_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setWorkersMaxSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_MAX_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Rejection Handler to Handle Failed Messages<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="background: rgb(212, 212, 212); color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">RejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">rejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> ThreadPoolExecutor.CallerRunsPolicy()
{</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Override</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> rejectedExecution(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 5;"> </span>Runnable
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">runnable</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,
ThreadPoolExecutor </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">threadPoolExecutor</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">if</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.isWarnEnabled()) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.warn(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"The current thread will handle the request "</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> +</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="color: #2a00ff;">"because the
rules engine's task queue is at "</span><span style="color: black;"> +</span><span style="color: #2a00ff;">"its maximum capacity"</span><span style="color: black;">);</span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">super</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.rejectedExecution(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">runnable</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">threadPoolExecutor</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">};</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setRejectedExecutionHandler(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">rejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Listener with Destination<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listener should implement <b>MessageListener</b>
interface. We have to implement receive(..) method and there we implement our
business logic. Listeners are registered with destination to received messages
from senders.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">There are different ways to register listener below is
the one of the ways.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Automatic Registration<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create MessageListener component and pass destination
name as property so that it will be register with destination automatically
when component is create.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Component</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span>immediate = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">true</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span><b>property = {</b></span><b><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"destination.name=liferaysavvy/synchronous-destination"</span></b><b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">},</span></b><b><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span>service = MessageListener.</span></b><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><b><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span>)</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> AutomaticRegisteredSynchronousMessageListener </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">implements</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="background: rgb(212, 212, 212);">MessageListener</span> {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Override</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="background: rgb(212, 212, 212);">receive</span>(Message
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">try</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.info(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"Message::"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">+</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">catch</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (Exception </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.printStackTrace();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">static</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">final</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Log </span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = LogFactoryUtil.<i>getLog</i>(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-tab-count: 1;"> </span>AutomaticRegisteredSynchronousMessageListener.</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Scheduler job and tag to Destination<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">SchedulerEngineHelperUtil</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> is
class will provide methods to create schedule Jobs. We can also use “<b>SchedulerEngineHelper</b>”
OSGi reference to create same schedule jobs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are API method to schedule Job in Liferay<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="background: rgb(43, 43, 43); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">public static void </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">schedule(<br />
<span style="mso-spacerun: yes;"> </span>Trigger trigger</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">StorageType storageType</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">String description</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">,<br />
<span style="mso-spacerun: yes;"> </span></span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">String destinationName</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">Message message</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, int </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">exceptionsMaxSize)<br />
<span style="mso-spacerun: yes;"> </span></span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">throws </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">SchedulerException <o:p></o:p></span></p>
<p class="MsoNormal" style="background: rgb(43, 43, 43); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background: rgb(43, 43, 43); line-height: normal; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;"><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";"><br />
</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">public
static void </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">schedule(<br />
<span style="mso-spacerun: yes;"> </span>Trigger trigger</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">StorageType storageType</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">String description</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">,<br />
<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span></span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">String destinationName</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">Object payload</span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">, int </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">exceptionsMaxSize)<br />
<span style="mso-spacerun: yes;"> </span></span><span style="color: #cc7832; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">throws </span><span style="color: #a9b7c6; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: "Courier New"; mso-fareast-font-family: "Times New Roman";">SchedulerException <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are the important Parameters<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Trigger</span></b></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its cron trigger Object. Trigger factory will be used to
create trigger object. It is required CRON expression and it should be valid
quartz cron expression.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html">http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Storage Type</span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its scheduler storage type like Memory or Persisted.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destination Name</span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its message bus destination where scheduler engine
will send messages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Message</span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It's JSON object to carry required data from Message
Bus to Listener.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Liferay 7.x</b> onwards Liferay scheduler API is providing
the <b>Timezone</b> while creating Trigger and it will resolve the <b>Daylight time
zone issue</b> for scheduled jobs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: "Times New Roman",serif; font-size: 14pt;">public</span></b><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;"> Trigger createTrigger(</span><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String </span><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">jobName</span><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">,
String </span><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">groupName</span><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">, Date </span><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">startDate</span><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">,
Date </span><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">endDate</span><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">,</span><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String </span><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">cronExpression</span><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">, <b>TimeZone
</b></span><b><span style="color: #6a3e3e; font-family: "Times New Roman",serif; font-size: 14pt;">timeZone</span></b><span style="color: black; font-family: "Times New Roman",serif; font-size: 14pt;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br style="mso-special-character: line-break;" />
<!--[if !supportLineBreakNewLine]--><br style="mso-special-character: line-break;" />
<!--[endif]--><o:p></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #3f7f5f; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">//Trigger trigger =
TriggerFactoryUtil.createTrigger(jobName,groupName,cronExpression);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>Trigger </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">trigger</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_triggerFactory</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.createTrigger(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">jobName</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">groupName</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">null</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">null</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">cron</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,TimeZone.<i>getDefault</i>());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Reference</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> TriggerFactory </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_triggerFactory</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Creating Schedule <o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #3f7f5f; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">//SchedulerEngineHelperUtil.schedule(trigger,
StorageType.PERSISTED, description,destinationName, message,
exceptionsMaxSize)</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_schedulerEngineHelper</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.schedule(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">trigger</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, StorageType.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">PERSISTED</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">description</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationName</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">exceptionsMaxSize</span></i><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Reference</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> SchedulerEngineHelper </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_schedulerEngineHelper</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Deploy and Run Example OSGi Module<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Find OSGi module from the below Git repository and
it will demonstrate, create dynamic schedule jobs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-scheduler-example">https://github.com/LiferaySavvy/liferay-scheduler-example</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Clone the project and import into your Liferay workspace.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Build and Deploy OSGi module with Gradle tasks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add Widget to Liferay Page<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlAzZxT_nTDbopLXtFFMhUJE1hzoNK46FlTXl8opyzc73FTF0a9vjaqYOi6rXNy5ABnFYgiiVjNsssdwA6O3-KmCQKsl0CdtrIQfBNf2H9AKKSpsIQmZ_Wc5_Dj8MEZ0wsvVUf4Dun8KKr/s1801/addportler.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="848" data-original-width="1801" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlAzZxT_nTDbopLXtFFMhUJE1hzoNK46FlTXl8opyzc73FTF0a9vjaqYOi6rXNy5ABnFYgiiVjNsssdwA6O3-KmCQKsl0CdtrIQfBNf2H9AKKSpsIQmZ_Wc5_Dj8MEZ0wsvVUf4Dun8KKr/w640-h302/addportler.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access “<b>Create Dynamic Schedule Jobs</b>” UI screen
and create job<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi447ChjoVgdKks0OEJDX1wlcpEUhVIG8wONPmjGod4aGhnflT-NrCLmfRi3jfeedS6i8ZMFdSM67oj0KtaBlFyS21bLKW34GoTwf0xN7z9oyrauV6xmjhhubznyWOsyFfzLdtVuM8VQhes/s1579/ds.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="982" data-original-width="1579" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi447ChjoVgdKks0OEJDX1wlcpEUhVIG8wONPmjGod4aGhnflT-NrCLmfRi3jfeedS6i8ZMFdSM67oj0KtaBlFyS21bLKW34GoTwf0xN7z9oyrauV6xmjhhubznyWOsyFfzLdtVuM8VQhes/w640-h398/ds.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once job is created, Job details will be stored in
Quartz Database tables.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBwtf2z_8kLO9LsyoAElZJKlhFCXbm1qndv0f46JDnw0aR00iFq8PrTf8Jxt3rp1nHqAdtihT1R8ZHuSf-2I2ahFCiJm2nO7zmrlZHwNVb1CmewQ-Cdmkzi3W4KLLBB2OwiB1h0JMB4f4f/s1746/dbt.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1746" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBwtf2z_8kLO9LsyoAElZJKlhFCXbm1qndv0f46JDnw0aR00iFq8PrTf8Jxt3rp1nHqAdtihT1R8ZHuSf-2I2ahFCiJm2nO7zmrlZHwNVb1CmewQ-Cdmkzi3W4KLLBB2OwiB1h0JMB4f4f/w640-h244/dbt.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">In the console logs, every <b>2 min Scheduler engine</b>
will trigger the job and send message to Message Bus. Other end listener will
be receiving the message and print in the console logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">2021-08-01 <b>15:02:00</b>.026 INFO<span style="mso-spacerun: yes;"> </span>[liferaysavvy/parallel-destination-10][<b>AutomaticRegisteredParellelMessageListener</b>:34]
Message::{destinationName=<b>liferaysavvy/parallel-destination</b>,
response=null, responseDestinationName=null, responseId=null, payload=null,
values={GROUP_NAME=Dynamic, companyId=20100, data=TwoMinJob:Dynamic,
groupId=0, DESTINATION_NAME=liferaysavvy/parallel-destination,
EXCEPTIONS_MAX_SIZE=10,
JOB_STATE=com.liferay.portal.kernel.scheduler.JobState@31b87667,
STORAGE_TYPE=PERSISTED, JOB_NAME=<b>TwoMinJob</b>}}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">2021-08-01 <b>15:04:00</b>.025 INFO<span style="mso-spacerun: yes;">
</span>[liferaysavvy/parallel-destination-11][AutomaticRegisteredParellelMessageListener:34]
Message::{destinationName=liferaysavvy/parallel-destination, response=null,
responseDestinationName=null, responseId=null, payload=null,
values={GROUP_NAME=Dynamic, companyId=20100, data=TwoMinJob:Dynamic,
groupId=0, DESTINATION_NAME=liferaysavvy/parallel-destination,
EXCEPTIONS_MAX_SIZE=10, JOB_STATE=com.liferay.portal.kernel.scheduler.JobState@2dd02e8e,
STORAGE_TYPE=PERSISTED, JOB_NAME=TwoMinJob}}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This is how we can create dynamic schedule job and
every schedule job must be tagged with destination.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destinations are not persisted so it must be created
when server startup or bundle is activated. That’s reason we implemented destination
creation as part of bundle activation. Schedule jobs are persisted as we are
selected Persisted storage type.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com10tag:blogger.com,1999:blog-4305105234376370815.post-36766418121520284402021-07-31T22:26:00.001+05:302021-07-31T22:26:03.776+05:30Liferay Message Bus Implementation<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Follow below Article to understand more about Message
Bus in Liferay.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><a href="http://www.liferaysavvy.com/2021/07/working-with-liferay-message-bus.html" target="_blank">http://www.liferaysavvy.com/2021/07/working-with-liferay-message-bus.html</a></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUdu1iaClPXCyZFLK1KiB_AH69eoAxn8zW1WGKdiIYbV3dPLJwxL9bZehRdcXDGBIi6BmHLkIpbazOd2mEIcceh3hm3qbdGZ5o8Xcqv6tis_02RJzp64wkeMmoAMXWvsAtsZqmj98r9QDy/s1559/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="887" data-original-width="1559" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUdu1iaClPXCyZFLK1KiB_AH69eoAxn8zW1WGKdiIYbV3dPLJwxL9bZehRdcXDGBIi6BmHLkIpbazOd2mEIcceh3hm3qbdGZ5o8Xcqv6tis_02RJzp64wkeMmoAMXWvsAtsZqmj98r9QDy/w640-h364/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Implementation Steps<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create Destination Configuration</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create Destination</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Register Destination as OSGi Service</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Manage the Destination Object</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Register Listener</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Send Message to Destination</span></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">GitHub Project<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/LiferaySavvy/liferay-messagebus-example" target="_blank"><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"><b>https://github.com/LiferaySavvy/liferay-messagebus-example</b></span></a><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Module Implementation<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Module demonstrates to create different types of
message bus destinations and different ways to register listeners with message
bus.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Module have simple UI screens to send messages on
Message Bus and view the statistics of each message bus destination.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Software Stack</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Liferay-ce-portal-7.4.1-ga2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Liferay
Developer Studio-3.9.3-ga4<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Ready with Portal Server and Liferay Workspace.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Deploy and Run <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Import Liferay Module in your Liferay Workspace. Run build
and deploy gradle tasks <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMJLdsTD5F4y7BoODCP0uFGrbQLxzmzvg0z6gMNt3QbTQAt1dxuA4SEnK6lqD78kkhtdIwXILqTknHBdvJD-Z8bDGHTWiK_-coKDsm6iN3X7DPBov7gA0rrqjO4uJlzD-hzyU_JG76ubln/s1885/liferayide.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="802" data-original-width="1885" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMJLdsTD5F4y7BoODCP0uFGrbQLxzmzvg0z6gMNt3QbTQAt1dxuA4SEnK6lqD78kkhtdIwXILqTknHBdvJD-Z8bDGHTWiK_-coKDsm6iN3X7DPBov7gA0rrqjO4uJlzD-hzyU_JG76ubln/w640-h272/liferayide.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Deploy module jar file in your OSGi deployment
directory by running gradle deploy task or also copy manually to <b>“osgi\modules”</b>
directory<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8dMw0sJxP0xva1s7ZnWl-6bzBvdS-7QQdvotzHHzUYWzEq_BqcztAWVvXIoiuAF-iwOvNQdR5jY_zFR8om1jqutLObIbuOK1QY9jfhMjSZgW0U-RTFnBGeu_YC3Xy9amDzhLp-wvvAuO7/s1064/7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="402" data-original-width="1064" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8dMw0sJxP0xva1s7ZnWl-6bzBvdS-7QQdvotzHHzUYWzEq_BqcztAWVvXIoiuAF-iwOvNQdR5jY_zFR8om1jqutLObIbuOK1QY9jfhMjSZgW0U-RTFnBGeu_YC3Xy9amDzhLp-wvvAuO7/w640-h242/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access Liferay Portal from Browser<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:8090/" target="_blank">http://localhost:8090/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Login as Liferay Admin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create Page in Liferay and Add Widget (<b>LiferayMessageBus</b>)
to the page<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8hmx60dJrsw7wtJKXALzKJwVAtuHEyUqiGiJYmgN-Cct_bElnVfzzPTJ1M0-obRBm0PBUgzSAA0JIiRpAPvFVMApszCGWF4oepXkrCCh4Q9Vn6La-BWGDNZLWTLOY36di2br2YPxX7aw2/s1870/1.1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="925" data-original-width="1870" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8hmx60dJrsw7wtJKXALzKJwVAtuHEyUqiGiJYmgN-Cct_bElnVfzzPTJ1M0-obRBm0PBUgzSAA0JIiRpAPvFVMApszCGWF4oepXkrCCh4Q9Vn6La-BWGDNZLWTLOY36di2br2YPxX7aw2/w640-h316/1.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvA-7DEFUz3DHdDuKqBczSNeyK5fbbnlz6HzOU3nDJqdi3tInyXrQlVBy7h-2IBY2ye5e-XkYX2gZqmPicsHqwvp7uUCRXwsaCKxbkFyCstDafLltkfCUmOHcL8GkWhoGkyIedVPkVAoyt/s1725/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="771" data-original-width="1725" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvA-7DEFUz3DHdDuKqBczSNeyK5fbbnlz6HzOU3nDJqdi3tInyXrQlVBy7h-2IBY2ye5e-XkYX2gZqmPicsHqwvp7uUCRXwsaCKxbkFyCstDafLltkfCUmOHcL8GkWhoGkyIedVPkVAoyt/w640-h286/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access “<b>Send Message</b>” screen.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrPGfI-ItbOhpC-8Y5028EbzgyL79Fet2Y05bVIGTti8qsQm8OFhLZqd7IVZ8Z-b5FXFrnamV_ikeGf-wrwXMuhwh1eblbOh_glooQglpVM3onLn9jPh1H_sTiazFq8eHzBPpHijax_-2/s1446/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="672" data-original-width="1446" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVrPGfI-ItbOhpC-8Y5028EbzgyL79Fet2Y05bVIGTti8qsQm8OFhLZqd7IVZ8Z-b5FXFrnamV_ikeGf-wrwXMuhwh1eblbOh_glooQglpVM3onLn9jPh1H_sTiazFq8eHzBPpHijax_-2/w640-h298/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Send Message with below UI screen. Message will be sent
to Message Bus on specified destination.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgimxzLrogVPnWEY3-iYuJYtjbcrzHYKhWE8rzwZrhYwuF-ngp20IIcHA-7X4wZoZRQ9V8VPeEY3_M0016EpsIrXPKjjhvkRs3LlA0-OROFbg_9L0G927oebwLL4ll6YyC7uW6rq_FbHsX6/s1600/4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="799" data-original-width="1600" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgimxzLrogVPnWEY3-iYuJYtjbcrzHYKhWE8rzwZrhYwuF-ngp20IIcHA-7X4wZoZRQ9V8VPeEY3_M0016EpsIrXPKjjhvkRs3LlA0-OROFbg_9L0G927oebwLL4ll6YyC7uW6rq_FbHsX6/w640-h320/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Once message sent on message bus then listeners will
be receiving the messages. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can see the logs of listeners on console logs which
prints the message object. We will implemented listeners based on real time
requirements.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2nKAYetUk1eAsV0NaEtzTiYKo0TmX8_pcH6UY0iPvJkuk07UiWvzwB1b5PcHjwzLqasH6kYSh16Mjp_2J-dumnA3HSaMKze55Qb1kRsxJ7fBk1qpatlRzucTxI_hFmiP-s6RfO99ZcAn7/s1833/5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="464" data-original-width="1833" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2nKAYetUk1eAsV0NaEtzTiYKo0TmX8_pcH6UY0iPvJkuk07UiWvzwB1b5PcHjwzLqasH6kYSh16Mjp_2J-dumnA3HSaMKze55Qb1kRsxJ7fBk1qpatlRzucTxI_hFmiP-s6RfO99ZcAn7/w640-h162/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access <b>Destination Statistics</b> UI screen.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV2LV0hG1YzZvEs05uZbErLYCr6XR9aEWBIHw8DMWF09tbixXKlCvmpalUdQijkYBUsyZhwsvzW14Y5iyzXQLsNmCO2vIvzRaDSCx-c6xRu0qQFHkbU_8lz8QdHP7IBuYVy5G15inemi6h/s1084/6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="707" data-original-width="1084" height="418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV2LV0hG1YzZvEs05uZbErLYCr6XR9aEWBIHw8DMWF09tbixXKlCvmpalUdQijkYBUsyZhwsvzW14Y5iyzXQLsNmCO2vIvzRaDSCx-c6xRu0qQFHkbU_8lz8QdHP7IBuYVy5G15inemi6h/w640-h418/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Select Destination from dropdown, it will show the
statistics of destination.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyI2hYWMzKm0tU6BAqSMOb2wz6ylVQjdHa6pJaLdD7uJJjHvfEix-Yng4apopZ0LSLB_FHJMhg2io22fUz5MDaT5_BuzcrgSK0DJTl4hcVjnh5lKCyypesXjmHJ-j28Prke7evdiJNfX7N/s1659/statts.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="881" data-original-width="1659" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyI2hYWMzKm0tU6BAqSMOb2wz6ylVQjdHa6pJaLdD7uJJjHvfEix-Yng4apopZ0LSLB_FHJMhg2io22fUz5MDaT5_BuzcrgSK0DJTl4hcVjnh5lKCyypesXjmHJ-j28Prke7evdiJNfX7N/w640-h340/statts.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com5tag:blogger.com,1999:blog-4305105234376370815.post-83651836405443952422021-07-31T02:00:00.006+05:302021-07-31T05:43:07.025+05:30Working with Liferay Message Bus<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Liferay Message Bus is Java Message Service (JMS) implementation
which works like publish and subscribe to model. This is light weight component
integrated in Liferay Portal.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Multiple senders will send messages on destination and
other-end receivers listens the messages. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It is useful for batch process in the back ground or multi-threaded
message processing and send message to multiple receivers when event is generated.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software Stack<o:p></o:p></span></u></b></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
</span></p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr>
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay-ce-portal-7.4.1-ga2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Send email to thousands of users in the background.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It will be integrated with scheduler which run jobs
periodically in the background.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Notify to multiple receivers when events are generated.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">If any user request takes longer time to process then
use message bus to assign task in the back-ground and update user response once
job is completed.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay internally uses many places like deployment
event notifier. When any module is deployed it will send message to message bus. </span></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYxKU_PRc6_TjMCEhBOkmzAmfiTRq8ReEUskNUldKh1B3aRi-z8aQaqGeJJP4YJKEek0HOQdDEJhXRkcHO44gDkmN4p5IKWtEHEZel4BmE75dDCp6epte4HmbtT2lyXmRwX-fevxboyaJ/s1559/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="887" data-original-width="1559" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYxKU_PRc6_TjMCEhBOkmzAmfiTRq8ReEUskNUldKh1B3aRi-z8aQaqGeJJP4YJKEek0HOQdDEJhXRkcHO44gDkmN4p5IKWtEHEZel4BmE75dDCp6epte4HmbtT2lyXmRwX-fevxboyaJ/w640-h364/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are important building blocks of Message Bus<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Senders</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listeners</span></b></li></ul><div><span style="font-family: Times New Roman, serif;"><span style="font-size: 18.6667px;"><b><br /></b></span></span></div><p></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destination<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destination is uniquely identifying name space in
message bus to send messages. Its like topic or channel used by sender to send
messages. Message bus contains as many as destinations.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Senders<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Senders are responsible to send messages to message
bus on specific destination. Sender may send messages to multiple destinations.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listeners<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listeners are receiving the messages which send by
senders. Every listener they must have register with at least one destination
to receive the messages. Listeners may subscribe to multiple destinations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay is providing the 3 types of destination and
based on requirement it can be used.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Parallel Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Serial Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Synchronous Destination</span></b></li></ul><div><span style="font-family: Times New Roman, serif;"><span style="font-size: 18.6667px;"><b><br /></b></span></span></div><div><span style="font-family: Times New Roman, serif;"><span style="font-size: 18.6667px;"><b><br /></b></span></span></div><p></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Parallel Destination<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Parallel Destination, process the messages asynchronous
model using multiple workers threads. Each message and listener subscribed to
destination, process as separate worker thread asynchronously. Messages are in
the queue if it reaches the max threads assigned in the pool. Worker thread per
message per listener.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Serial Destination</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Serial destination similar to parallel destination but
here each message process as separate thread. Worker thread per message. Messages
are in the queue if it reaches max threads assigned in the pool.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Synchronous Destination<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Synchronous destination will send messages directly to
the listeners no messages are in the queue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Asynchronous model generally has following important parameters.
Parallel or Serial destination we can set following parameters.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Maximum Queue Size<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This parameter decides the number of messages that can
put in the queue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Workers Core Size<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Initial number of workers threads to create thread pool.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Workers Max Size<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Maximum number of worker threads in the pool if the
worker threads reach the value, messages are in the queue for next available
worker thread. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Rejected Execution Handler<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Rejection handle is mechanism to handle failed messages
when the queue is full.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Message Bus Implementation steps in the applications<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Create Destination Configuration</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Create Destination</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Register Destination as OSGi Service</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Manage the Destination Object</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Register Listener</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Send Message to Destination</b></span></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination Configuration<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Message Bus API is providing <b>DestinationConfiguration</b>
class to create destination configuration. We can create different types of destination
as it specified in the above.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Parallel Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Serial Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_SERIAL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_SERIAL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Synchronous Destination Configuration<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DestinationConfiguration </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationConfiguration(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span>DestinationConfiguration.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_TYPE_SYNCHRONOUS</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_SYNCHRONOUS</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">DestinationFactory</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
will create destination based on configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Destination </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationFactory</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.createDestination(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Destination as OSGi Service<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">ServiceRegistration</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><Destination>
is used to register destination as OSGi service.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_bundleContext</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.registerService(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>Destination.</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationProperties</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.info(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"Destination is registred with Service Regisration
.."</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Manage the Destination Object<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have to manage destination object so that it can deregister
when bundle is deactivated.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Dictionary<String, Object> </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationProperties</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>HashMapDictionaryBuilder.<String,
Object><i>put</i>(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"destination.name"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getName()).build();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destroy Destination<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Deactivate</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">protected</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> deactivate() {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">if</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> != </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">null</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span>Destination
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_bundleContext</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getService(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.getReference());</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span><span style="mso-tab-count: 1;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationServiceRegistration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.unregister();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.destroy();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setting Thread Pool for destination<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setMaximumQueueSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_MAXIMUM_QUEUE_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setWorkersCoreSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_CORE_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setWorkersMaxSize(</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_MAX_SIZE</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Rejection Handler to Handle Failed Messages<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="background: rgb(212, 212, 212); color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">RejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">rejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> =</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">
ThreadPoolExecutor.CallerRunsPolicy() {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Override</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 4;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> rejectedExecution(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 5;"> </span>Runnable
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">runnable</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,
ThreadPoolExecutor </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">threadPoolExecutor</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">if</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.isWarnEnabled()) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.warn(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"The current thread will handle the request "</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> +</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="color: #2a00ff;">"because the
rules engine's task queue is at "</span><span style="color: black;"> +</span><span style="color: #2a00ff;">"its maximum capacity"</span><span style="color: black;">);</span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">super</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.rejectedExecution(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">runnable</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">threadPoolExecutor</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">};</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationConfiguration</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.setRejectedExecutionHandler(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">rejectedExecutionHandler</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Listener<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listener should implement <b>MessageListener</b>
interface. We have to implement receive(..) method and there we implement our business
logic. Listeners are registered with destination to received messages from senders.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">There are different ways to register listener<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i>Automatic Registration</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create <b>MessageListener </b>component and pass destination name
as property so that it will be register with destination automatically when
component is created.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Component</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span>immediate = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">true</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">,</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span><b>property = {</b></span><b><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"destination.name=liferaysavvy/synchronous-destination"</span></b><b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">},</span></b><b><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-spacerun: yes;"> </span>service = MessageListener.</span></b><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><b><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span>)</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> AutomaticRegisteredSynchronousMessageListener </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">implements</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="background: rgb(212, 212, 212);">MessageListener</span> {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Override</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">public</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">void</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> <span style="background: rgb(212, 212, 212);">receive</span>(Message
</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">try</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.info(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"Message::"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">+</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">catch</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (Exception </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 3;"> </span></span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.printStackTrace();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 2;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span>}</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">static</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">final</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Log </span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_log</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = LogFactoryUtil.<i>getLog</i>(</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-tab-count: 1;"> </span><span style="mso-tab-count: 1;"> </span>AutomaticRegisteredSynchronousMessageListener.</span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">class</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><i>Message Bus Registration</i><o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listeners can register using Message Bus. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Reference<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> MessageBus </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageBus</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageListenerParallel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> MessageBusRegisteredParallelMessageListener();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageBus</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.registerMessageListener(LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageListenerParallel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Destination Registration<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listeners can also register with Destination <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="background: rgb(232, 242, 254); color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="background: rgb(232, 242, 254); color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="background: rgb(232, 242, 254); color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> MessageListener </span><span style="background: rgb(232, 242, 254); color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageListenerParallel</span><span style="background: rgb(232, 242, 254); color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Reference</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">(target = </span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"(destination.name="</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">+LiferayMessageBusPortletKeys.</span><b><i><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">DESTINATION_PARALLEL</span></i></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">+</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">")"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">)</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span></span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Destination </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationParellel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="background: rgb(240, 216, 168); color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageListenerParallel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> DestinationRegisteredParallelMessageListener();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_destinationParellel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.register(</span><span style="background: rgb(212, 212, 212); color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageListenerParallel</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Send Message to Destination<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Several ways to send message to destination and all
are asynchronous process. We can also send messages synchronously.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Directly with Message Bus<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #646464; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">@Reference</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">private</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> MessageBus </span><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageBus</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Message </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Message();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.put(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"message"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: #0000c0; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">_messageBus</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.sendMessage(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destination</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Using Message Bus Util <o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Message </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Message();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.put(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"message"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">message</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">MessageBusUtil.sendMessage(destinationName,
message);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Send Messages Synchronously</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can send message Synchronously using Message Bus Util.
Message Bus block the message until it received the response or timeout.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">Message </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> = </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">new</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Message();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.put(</span><span style="color: #2a00ff; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">"message"</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #2a00ff; font-family: Consolas;"><span style="font-size: 18.6667px;">message</span></span><span style="font-family: Consolas;"><span style="font-size: 14pt;">);</span></span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">try</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;">
</span>MessageBusUtil.<i>sendSynchronousMessage</i>(</span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">destinationName</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">, </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">messageobj</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">);</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #3f7f5f; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>//MessageBusUtil.sendSynchronousMessage(destinationName,
message, <b>timeout</b>)</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">} </span><b><span style="color: #7f0055; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">catch</span></b><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> (MessageBusException </span><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">) {</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #3f7f5f; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>// </span><b><span style="color: #7f9fbf; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">TODO</span></b><span style="color: #3f7f5f; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"> Auto-generated catch block</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; mso-layout-grid-align: none; text-autospace: none;"><span style="color: #6a3e3e; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span>e</span><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">.printStackTrace();</span><span style="font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="color: black; font-family: Consolas; font-size: 14pt; mso-bidi-font-family: Consolas;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Find Message Bus Source in Git Hub<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-messagebus-example" target="_blank"><b>https://github.com/LiferaySavvy/liferay-messagebus-example</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com5tag:blogger.com,1999:blog-4305105234376370815.post-16666306189102771272021-07-29T22:18:00.002+05:302021-08-01T20:03:18.459+05:30Working with Liferay Scheduler<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Scheduler is one of the important components in any
application. To perform jobs periodically then application is required
scheduler. Liferay portal is providing scheduler in portal and we can schedule
jobs in portal applications.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Liferay implemented scheduler on top of the quartz
scheduler engine. Quartz is popular open-source java implementation for scheduling
jobs.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Liferay build another API on top native quartz so that
we can easily configure or created schedule jobs in Liferay Portal
Applications.</span></p><p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software Stack</span></u></b></p><p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay-ce-portal-7.4.1-ga2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir49eottZ6fnRLphNee31GL4lv7dDrPtSwlgNln5EL4VI54xBgeoIxTo-ze2VaXDKq51wkzLSV3gXCqJGv7o8vBQPurQwHjbJPAs_QruthoA1yhJ2ZME5iaTAKkJHT8hkAXYEtEv-5LC8N/s1263/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="718" data-original-width="1263" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir49eottZ6fnRLphNee31GL4lv7dDrPtSwlgNln5EL4VI54xBgeoIxTo-ze2VaXDKq51wkzLSV3gXCqJGv7o8vBQPurQwHjbJPAs_QruthoA1yhJ2ZME5iaTAKkJHT8hkAXYEtEv-5LC8N/w640-h364/0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Scheduler API is using Message Bus to delegate
job to backend process.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">High-level scheduler implementation in Liferay<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay provides scheduler API to create schedule job
which is <b>tagged to specific Message Bus destination</b>.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Each destination has one or more message <b>listeners
register with destination</b>. Destination may be Parallel or Serial.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Scheduler Engine will trigger Job at defined time
frame based <b>CRON</b> expression.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Job is responsible to <b>send message (Delegate job)
to Message Bus on specific destination</b> and that was already configured as
part of scheduling.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Listener will <b>receive the message which posted in Message
Bus destination</b>.</span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once Listener is <b>received the </b>message then
process the message and execute the further steps.</span></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">All business logic will be implemented in the listener
so that it will be invoked when the message posted on the Message Bus. Sending message
to Message Bus is configured by schedule job and scheduler engine will trigger
job based on the cron expression. <span style="mso-spacerun: yes;"> </span><b>Message
Bus</b> is really useful concept for scheduler to assign job in the blackened
process. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Sending email to group of users periodically like <b>daily/weekly/month</b>.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay is providing different job storage types while
creating schedule job.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Memory</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">When we use single liferay instance environment then
memory storage type can be useful and all scheduled jobs information is stored
in portal memory. If server restarted all scheduled jobs information will be
lost.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Memory Cluster</span></u></b></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Memory Cluster is similar to memory storage type but
this is being used in Clustered environment. If job created in one instance memory
that will be replicated in other instance memory. There are chances of loss of
schedule job details if the both instances are crash or down.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Persisted</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Persisted storage is another available type storage
and job data will be stored in the database <b>quartz</b> tables. So, when the
scheduler engine stared then all jobs will be scheduled based on the
information available in the database. There is no loss of scheduled job data.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">The following are the <b>QUARTZ</b> tabled created by
Quartz scheduler during liferay startup.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeZP8stUEGvPZvZvHfwbqy2M3UmW5me_NqTokf-jK7feS2gP65S9hLV0CLj9DRE3QZDMp42IiBBY5EwS1WFXV5cq7V63VwV2m0t3pPp4WHWfKjVkcZoBx-f3VPUvGD8ji8h9QLF8dfNs60/s1062/2JPG.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="398" data-original-width="1062" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeZP8stUEGvPZvZvHfwbqy2M3UmW5me_NqTokf-jK7feS2gP65S9hLV0CLj9DRE3QZDMp42IiBBY5EwS1WFXV5cq7V63VwV2m0t3pPp4WHWfKjVkcZoBx-f3VPUvGD8ji8h9QLF8dfNs60/w640-h240/2JPG.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">When we create schedule job, we must select the storage
type so that job details will be stored in either memory or database tables.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Clustered environment, jobs may fire from multiple
instances so we have to be very careful. Quartz internally uses the locking
mechanism so that only one scheduler instance fires the job and other instances
never fire same job at same time. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">The following is steps to create dynamic schedule jobs<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Register Listener with Destination</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add destination to Message Bus</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Scheduler job and tag to
destination</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following is groovy code snipper to create schedule
job and tag to Message Bus destination. Here is using the existing Dummy
Message Listener to demonstrate the example. Usually, we will create our own
message listener and implement business login as part of message listener.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Below schedule job is for every minute and for every
minute scheduler engine post a message on Message Bus for specific destination
and dummy message listener receive the message and execute the received method
which prints the message object in logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Find script from below GitHub repository.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-admin-groovy-examples/blob/master/create-dynamic-quartz-schedule-job.groovy" target="_blank"><b>https://github.com/LiferaySavvy/liferay-admin-groovy-examples/blob/master/create-dynamic-quartz-schedule-job.groovy</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.Destination;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import com.liferay.portal.kernel.messaging.DestinationConfiguration;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DestinationFactoryUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DummyMessageListener;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.Message;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import com.liferay.portal.kernel.messaging.MessageBusUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.MessageListener;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.portlet.PortletClassLoaderUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import com.liferay.portal.kernel.scheduler.StorageType;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.Trigger;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.TriggerFactoryUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.util.PortalClassLoaderUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String
destinationName = "liferaysavvy/parallel-destination";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String className
= DummyMessageListener.class.getName();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String jobName =
"com.liferay.portal.kernel.messaging.DummyMessageListener";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String groupName
= "com.liferay.portal.kernel.messaging.DummyMessageListener";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">//Every minute<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String
cronExpression = "0 0/1 * * * ?";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">String
description = "Every one minute job using Parallel Destination..";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">int
exceptionsMaxSize = 10;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">//Create
destination and register listener<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">try {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>DestinationConfiguration
destinationConfig =<span style="mso-spacerun: yes;"> </span>DestinationConfiguration.createParallelDestinationConfiguration(destinationName);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>Destination parallelDestination =
DestinationFactoryUtil.createDestination(destinationConfig);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>String portletId = null;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>ClassLoader classLoader = null;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>if(portletId != null){<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>//PortletClassLoaderUtil.setServletContextName(portletId);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>classLoader =
PortletClassLoaderUtil.getClassLoader(portletId);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>} else {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>classLoader =
PortalClassLoaderUtil.getClassLoader();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>MessageListener messageListener =
(MessageListener)classLoader.loadClass(className).newInstance();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>out.println("messageListener ::
${messageListener}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>parallelDestination.register(messageListener);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>MessageBusUtil.addDestination(parallelDestination);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>//Create schedule job with cron
expression.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>Trigger trigger =
TriggerFactoryUtil.createTrigger(jobName,groupName,cronExpression);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>Message message = new Message();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>message.put("data","My
Data required for job..");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>SchedulerEngineHelperUtil.schedule(trigger,
StorageType.PERSISTED, description,destinationName, message,
exceptionsMaxSize)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">} catch
(Exception e) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>e.printStackTrace();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Global Menu --> </span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Control Panel </span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">-->System </span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>-->Server Administration </b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqxhAz3tjdCveve1xwnB7XaUvRrlYGG4LRRMa8Acx3TC7dzraVa7fGDSNlk9vI9eDt3NPQg91u9k0dUipfecYoHiKOb-nmCg9G0sFIOlW4ju5q3qMJguBL9Ij_GMBQazqGGEuSO7zm4jXQ/s1657/2.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="797" data-original-width="1657" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqxhAz3tjdCveve1xwnB7XaUvRrlYGG4LRRMa8Acx3TC7dzraVa7fGDSNlk9vI9eDt3NPQg91u9k0dUipfecYoHiKOb-nmCg9G0sFIOlW4ju5q3qMJguBL9Ij_GMBQazqGGEuSO7zm4jXQ/w640-h308/2.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5ZoURap1kmljiOrCGXRZqctHBtOpmvwIqabsVySZTB4XkyQeY5RV-9Rj5Gu8g-PYFeQBa2XhoFV-5KdV2kcExHZgP2shhG-anBbdWJklE0u10S7Aq5410QlAjpFrtmvNgz3gLvoJ8PNJ7/s1616/sa.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="664" data-original-width="1616" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5ZoURap1kmljiOrCGXRZqctHBtOpmvwIqabsVySZTB4XkyQeY5RV-9Rj5Gu8g-PYFeQBa2XhoFV-5KdV2kcExHZgP2shhG-anBbdWJklE0u10S7Aq5410QlAjpFrtmvNgz3gLvoJ8PNJ7/w640-h262/sa.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on script, copy paste the above script in the
editor and execute it.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Schedule job will be created and job details is stored
in database.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGi2N0W3UGrtjiF0frSXxZfXYeV2tKDy6AXBRgzfO2V9iOBU5dBw1O1EIC47c6yOeziRn1iij_5Rk1CdbfOGQ3Lx1vCiDj2Bc00ZXngM5THDfC0RMP3cR91rs_4scVrrUFzZOkgXCI7rs0/s1705/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="950" data-original-width="1705" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGi2N0W3UGrtjiF0frSXxZfXYeV2tKDy6AXBRgzfO2V9iOBU5dBw1O1EIC47c6yOeziRn1iij_5Rk1CdbfOGQ3Lx1vCiDj2Bc00ZXngM5THDfC0RMP3cR91rs_4scVrrUFzZOkgXCI7rs0/w640-h356/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see scheduled job details in the database
table.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhieMM4KSaWeRoylSWrz-Alxysws6xiSQrEO2uhzz7MTqvZIXxEUqUN801h_LAV38L22rm2lCAZo-AwbYRDOnaMLfwExLG1-7pmXRf4ZBHlLawkd8e6RQNywGVW22pm_cjVEWFQcThSZ0/s1908/5.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="936" data-original-width="1908" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhieMM4KSaWeRoylSWrz-Alxysws6xiSQrEO2uhzz7MTqvZIXxEUqUN801h_LAV38L22rm2lCAZo-AwbYRDOnaMLfwExLG1-7pmXRf4ZBHlLawkd8e6RQNywGVW22pm_cjVEWFQcThSZ0/w640-h314/5.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Cron trigger table have details of Trigger<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfxX-tunYrO_KKB_ud6l3u6iXwJ8TfIIS08L-xQOXcOobAXrfxTsr6hyphenhyphen6Ypj29OTLzk0rxWGMqMwDkaqXlW3ggLbPrw1NwjqKUaGU0raRXJEVgiO2IQgMvt1r1s79XnEQVA7uFCnZQFbYK/s1793/5.2JPG.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="749" data-original-width="1793" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfxX-tunYrO_KKB_ud6l3u6iXwJ8TfIIS08L-xQOXcOobAXrfxTsr6hyphenhyphen6Ypj29OTLzk0rxWGMqMwDkaqXlW3ggLbPrw1NwjqKUaGU0raRXJEVgiO2IQgMvt1r1s79XnEQVA7uFCnZQFbYK/w640-h268/5.2JPG.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Dummy Listener logs <o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Created schedule job for every minute so scheduler
engine will send message for every minute on given destination and Dummy
Listener will receive the message object. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Enable info logs for “<b>com.liferay.portal.kernel.messaging.DummyMessageListener</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">Global Menu --> </span><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">Control Panel </span><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">-->System </span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;"><b>-->Server Administration</b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkLCju_WmIQG3FbNGjjgQ5GBh_H4edZZQgl-7pW00me73DbnAgsD1ikqAGvIJUgSTFkInRwAqCp61lkOhQ39dmM3AbxqY7YK_BdGucMDiVjOBKSsVvqRsevZZBNvFjnaKs-lXxz0ryaYDE/s1657/2.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="797" data-original-width="1657" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkLCju_WmIQG3FbNGjjgQ5GBh_H4edZZQgl-7pW00me73DbnAgsD1ikqAGvIJUgSTFkInRwAqCp61lkOhQ39dmM3AbxqY7YK_BdGucMDiVjOBKSsVvqRsevZZBNvFjnaKs-lXxz0ryaYDE/w640-h308/2.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5DZDTKISz6DcE2XuA0pW-4njYFoGkNNR5tYuY9CEpL5MVloLJPuflRleuZKxC1U58oUkYAODTo1NLlMBiHTnZn8-nCcF4-AAYXmH1Dtb2OwkhYVDZEx2-7d8R7s1nftFMLK2dALPWRf_e/s1616/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="664" data-original-width="1616" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5DZDTKISz6DcE2XuA0pW-4njYFoGkNNR5tYuY9CEpL5MVloLJPuflRleuZKxC1U58oUkYAODTo1NLlMBiHTnZn8-nCcF4-AAYXmH1Dtb2OwkhYVDZEx2-7d8R7s1nftFMLK2dALPWRf_e/w640-h262/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on log Levels and Click on <b>+ Add Category</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Pr4wLfYTYHH-VSxVcNVEmyiIrhZZwvHuHK7He9UGRmSohMEaDvPHcS0pk6O33bM0O2bfNHJg2PKor9_ayUQQIAiz7Oz0OEw-UqNInrE3ptd6yriHNvxa0vL6tJ9J1M9oMUyaEXQP-L1r/s1502/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="779" data-original-width="1502" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Pr4wLfYTYHH-VSxVcNVEmyiIrhZZwvHuHK7He9UGRmSohMEaDvPHcS0pk6O33bM0O2bfNHJg2PKor9_ayUQQIAiz7Oz0OEw-UqNInrE3ptd6yriHNvxa0vL6tJ9J1M9oMUyaEXQP-L1r/w640-h332/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Provide logger name and Log levels as follows and save
details. Now dummy listener will show all logs in the console.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgutiJsHKnK2BP83imNmOKOfH8mv2HtUZNey03FNIIl-kIf9hEW-NW4nE-fOno5Y81mvcXMYv_GaJ1NbjVxfzjQ6kCNWGsIuWAnuXU6eY1u0XU9tWz2Pl7n6CsIae6MGMf7sw3H1SLCY8xP/s1507/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="540" data-original-width="1507" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgutiJsHKnK2BP83imNmOKOfH8mv2HtUZNey03FNIIl-kIf9hEW-NW4nE-fOno5Y81mvcXMYv_GaJ1NbjVxfzjQ6kCNWGsIuWAnuXU6eY1u0XU9tWz2Pl7n6CsIae6MGMf7sw3H1SLCY8xP/w640-h230/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open server logs console and we can observe that every
minute Dummy Message Listener is receiving message from Message Bus and print
the message object in the logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiejZ6o9QWC4abN1rTn-94Bpt-F4Tt0S1j8-xlSycaRj5VD08Vd2-1Gg9pkB2_0b2gzqpV3yjTk91_EMXN19QJsLRzLIvDc8snyW5_Xlu2PFKxUFIlvq0MvxjSDSJYIQrNiDC6z-tQ-X8cR/s1920/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="649" data-original-width="1920" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiejZ6o9QWC4abN1rTn-94Bpt-F4Tt0S1j8-xlSycaRj5VD08Vd2-1Gg9pkB2_0b2gzqpV3yjTk91_EMXN19QJsLRzLIvDc8snyW5_Xlu2PFKxUFIlvq0MvxjSDSJYIQrNiDC6z-tQ-X8cR/w640-h216/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This is how Liferay scheduler works and it used Native
Quartz and Message Bus.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following is sample groovy script to know the
statistics of destination<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> Execute from control panel</o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">Global Menu --> </span><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">Control Panel </span><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;">-->System </span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 19.9733px;"><b>-->Server Administration --> Script</b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Find script from below GitHub repository.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-admin-groovy-examples/blob/master/message-bus-destination-statistics.groovy" target="_blank"><b>https://github.com/LiferaySavvy/liferay-admin-groovy-examples/blob/master/message-bus-destination-statistics.groovy</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.Destination;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DestinationConfiguration;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DestinationFactoryUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DummyMessageListener;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.Message;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.MessageBusUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.MessageListener;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.portlet.PortletClassLoaderUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.SchedulerEngineHelperUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.StorageType;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import com.liferay.portal.kernel.scheduler.Trigger;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.scheduler.TriggerFactoryUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.util.PortalClassLoaderUtil;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferay.portal.kernel.messaging.DestinationStatistics;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">//Create
destination and register listener<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">try {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String destinationName =
"liferaysavvy/parallel-destination";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String className =
DummyMessageListener.class.getName();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String jobName = "com.liferay.portal.kernel.messaging.DummyMessageListener";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>String groupName =
"com.liferay.portal.kernel.messaging.DummyMessageListener";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>//Every minute<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>Destination destiNation =
MessageBusUtil.getDestination(destinationName);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>if(){<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println(destiNation.getMessageListeners());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>DestinationStatistics
destinationStatistics = destiNation.getDestinationStatistics();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Destination
is registered with Messagebus::${destiNation.isRegistered()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Sent
Message Count<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getSentMessageCount()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Pending
Message Count :: ${destinationStatistics.getPendingMessageCount()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Active
Thread Count<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getActiveThreadCount()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Current
Thread Count<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getCurrentThreadCount()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Largest
Thread Count<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getLargestThreadCount()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Max
Thread Pool Size<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getMaxThreadPoolSize()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("Min
Thread Pool Size<span style="mso-spacerun: yes;"> </span>::
${destinationStatistics.getMinThreadPoolSize()}");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>} else {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span>out.println("************Destination
not in the Message Bus************"));<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">} catch
(Exception e) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span>e.printStackTrace();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigX8peZ4aYPavQEmXMX6NCsh3Qudz0M3Qe6F1RRTLOum0EOq4g66njQObF20bk-OS69O3Nz7bJEMTy3hyUdihod7HhwFWpQiAr-3JGKmhnZglSFigP0OLLoOYwS9LirZXc_BmYmKb5gpaK/s1604/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="960" data-original-width="1604" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigX8peZ4aYPavQEmXMX6NCsh3Qudz0M3Qe6F1RRTLOum0EOq4g66njQObF20bk-OS69O3Nz7bJEMTy3hyUdihod7HhwFWpQiAr-3JGKmhnZglSFigP0OLLoOYwS9LirZXc_BmYmKb5gpaK/w640-h384/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Important Points<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Demonstration purpose, used Dummy Listener and groovy
script to create schedule job. These messages bus destinations will be lost
once restarted the server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Realtime scenarios we have to create Destinations for
every restart. We can use bundle activate method to create destinations and
register listeners with listener component class.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Reference Code Points from Liferay<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/modules/apps/portal-scheduler/portal-scheduler-quartz/src/main/java/com/liferay/portal/scheduler/quartz/internal/QuartzSchedulerEngine.java" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/modules/apps/portal-scheduler/portal-scheduler-quartz/src/main/java/com/liferay/portal/scheduler/quartz/internal/QuartzSchedulerEngine.java</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/StorageType.java" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/StorageType.java</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/SchedulerEngineHelperUtil.java" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/SchedulerEngineHelperUtil.java</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/TriggerFactoryUtil.java" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/portal-kernel/src/com/liferay/portal/kernel/scheduler/TriggerFactoryUtil.java</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/modules/apps/portal-scheduler/portal-scheduler-quartz/src/main/java/com/liferay/portal/scheduler/quartz/internal/job/MessageSenderJob.java" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.1-ga2/modules/apps/portal-scheduler/portal-scheduler-quartz/src/main/java/com/liferay/portal/scheduler/quartz/internal/job/MessageSenderJob.java</a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com4tag:blogger.com,1999:blog-4305105234376370815.post-28967650708654824162021-07-27T02:32:00.000+05:302021-07-27T02:32:19.725+05:30Configure Remote Elasticsearch Cluster in Liferay Cluster<p><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Liferay 7.x</span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;">
is using Elasticsearch and it’s embedded in the bundle. When we start Liferay
then embedded elastic instance also will start.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Development environments, this embedded search is ok
but for production environments we must need external Elasticsearch cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">If we are building Liferay cluster then all instances
should connect with same Elasticsearch cluster. So, we must have some
external/remote Elasticsearch.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">This Article Demonstrate configure the remote Elasticsearch
in Liferay.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">From <b>Liferay DXP 7.3 and CE 7.3 GA4+</b> <b>Elasticsearch
connector</b> is included in the bundle and previous versions are required Elasticsearch
Connector which is available in <b>Liferay Market Place</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">This Demonstration is using <b>Liferay 7.4 GA2</b>, So
Elastic connector already included in the latest <b>Liferay portal bundle</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Software Stack<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Elasticsearch-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Liferay-ce-portal-7.4.1-ga2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Following are the steps to configure the <b>External/Remote
Elasticsearch</b> for Liferay.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Elastic Cluster</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Liferay Cluster.</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Elasticsearch in Liferay</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Elastic Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Follow the below article to install Elasticsearch Cluster<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Liferay Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Follow the below article to install Liferay Cluster<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Elasticsearch in Liferay <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">There is two ways we can configure Elasticsearch in
Liferay.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><i><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">From Control Panel</span></i></b></li><li><b><i><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Using OSGi config file</span></i></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">From Control Panel<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Login to Liferay Portal as Administrator. Access
Liferay Cluster or Any one the node in the cluster.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access direct Liferay node using Host and Port<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u><i>Example:</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:8090/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:8090/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"><b>Global Menu </b>--></span><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"> Control Panel </span></b><span style="font-family: "Times New Roman", serif; font-size: 18.6667px;">--></span><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><span style="mso-spacerun: yes;"> </span>Configuration </span></b><span style="font-family: "Times New Roman", serif; font-size: 18.6667px;">--></span><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"> System Settings<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXWQuHihD1g31UOkmNkvgN4exRBIDEySD_hm_7BMCuTForsdWlK5FbQCUCNtuGzb0B22g-7JaHvAbwvoni59v7-mLzjBttEw679GvyYONXP98u5eIWAjFyjMH4UiAQWVx_wHJQ55RYySjo/s1823/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="769" data-original-width="1823" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXWQuHihD1g31UOkmNkvgN4exRBIDEySD_hm_7BMCuTForsdWlK5FbQCUCNtuGzb0B22g-7JaHvAbwvoni59v7-mLzjBttEw679GvyYONXP98u5eIWAjFyjMH4UiAQWVx_wHJQ55RYySjo/w640-h270/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTS4UGo7DInq3vjN-H-X4pjEkCrj-EpM2vaMfCNWIf6F12LzXglYqcNgIwGdIdBPIS_M9rhRyn8uZI-DsN_IS9ZRYp4FEChSFLhyv9SywkPNw_26QgYTHod2IpS8lyoIt7BwB5Yj0yv-YY/s1575/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="645" data-original-width="1575" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTS4UGo7DInq3vjN-H-X4pjEkCrj-EpM2vaMfCNWIf6F12LzXglYqcNgIwGdIdBPIS_M9rhRyn8uZI-DsN_IS9ZRYp4FEChSFLhyv9SywkPNw_26QgYTHod2IpS8lyoIt7BwB5Yj0yv-YY/w640-h262/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>System Setting </b></span><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>--> Click on Search</b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0mV2znVarp39JNbKmof1wJYUKxLolk05C-BnVwDPKLgy_XaySFAY0Cbq-jPs5b3H2DTi_UYd_jSjSURaIfnZaTrRaxmKj_rK2m6AjwFYk3x8K_T0sU6UKYHcoM2W2xSORmAYp7GdUUQM9/s1722/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="883" data-original-width="1722" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0mV2znVarp39JNbKmof1wJYUKxLolk05C-BnVwDPKLgy_XaySFAY0Cbq-jPs5b3H2DTi_UYd_jSjSURaIfnZaTrRaxmKj_rK2m6AjwFYk3x8K_T0sU6UKYHcoM2W2xSORmAYp7GdUUQM9/w640-h328/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Provide <b>ElasticSearch7</b> Configuration as
follows.<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Step:1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on <b>Elasticsearch Connection</b>s and Provide <b>Connection
Id</b> and <b>Cluster Host names</b>. Click <b>+ Button</b> to add multiple Elasticsearch
hosts in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9200%2Chttp/localhost:9201,http:/localhost:9202" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9200</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9201/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9201</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9202/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9202</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoYRjPYZWAw0ntlSDQ5BJ-q4eHtTIN3sQxTiVyJnhNIbDeZKklDtot-E869yq_84YRe8YcXpxe3hiWGkA_sSz52XY5Ch8kTBFLuk1sf7F_0nWdDR5xAPBVOLjQv-DqMX6Oytx2SM9iAWlf/s1699/3.1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="968" data-original-width="1699" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoYRjPYZWAw0ntlSDQ5BJ-q4eHtTIN3sQxTiVyJnhNIbDeZKklDtot-E869yq_84YRe8YcXpxe3hiWGkA_sSz52XY5Ch8kTBFLuk1sf7F_0nWdDR5xAPBVOLjQv-DqMX6Oytx2SM9iAWlf/w640-h364/3.1.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Save the configuration Elasticsearch connection Id
will be created. There are many configuration properties available and based on
requirement provide required properties.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPXLzC4KFQzQie0EAZ2FTsF-BSg4JmS2JOcC82gZQkFRV-3SZX0pV08mbpXeloEHL05jqnKGnZS4Suw2vok97d2BhDVZegZvbeWZPIQz1-McypLFLCr4ArbHnxiZn0G4fDTASFWmTb2nMv/s1561/3.2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="865" data-original-width="1561" height="354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPXLzC4KFQzQie0EAZ2FTsF-BSg4JmS2JOcC82gZQkFRV-3SZX0pV08mbpXeloEHL05jqnKGnZS4Suw2vok97d2BhDVZegZvbeWZPIQz1-McypLFLCr4ArbHnxiZn0G4fDTASFWmTb2nMv/w640-h354/3.2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Step: 2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on <b>Elasticsearch7</b> Settings and <b>Enable
Production mode</b> and Select <b>Elasticsearch Connection ID</b> that we
already created in the previous step. Save the configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqhGQm64p9TclpXqtFWgt2NtTUhDkr3_eL_QCrKF4rnXW8PCzcI_eGaR0TrF14xjRFyhEahj3tPCniiuUfLGmoRb33W3R_CoItPe5GYq5IDuBT-htP9K1goK2cOYfn2klv0kFMeFPh2pd2/s1575/4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="970" data-original-width="1575" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqhGQm64p9TclpXqtFWgt2NtTUhDkr3_eL_QCrKF4rnXW8PCzcI_eGaR0TrF14xjRFyhEahj3tPCniiuUfLGmoRb33W3R_CoItPe5GYq5IDuBT-htP9K1goK2cOYfn2klv0kFMeFPh2pd2/w640-h394/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Default search index is <b>liferay-*</b> so we can see
in the Elasticsearch that the indexes will be created.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Use below URL to confirm that indexes are created.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9200/_cat/indices?v" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9200/_cat/indices?v</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFHPcVdvI9MPe3DReYp3gR9qnzduvzE5kv0KHXLoTiYa4e5K-kV4x0Tgu7GlpsZTdDQPuv-d6rG-R2hFEWzihJrxqZLxMduSuM697SpS07pIKxQ1CJABn1Dprw4tEEudo7AbSzQWIdEMek/s1156/5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="482" data-original-width="1156" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFHPcVdvI9MPe3DReYp3gR9qnzduvzE5kv0KHXLoTiYa4e5K-kV4x0Tgu7GlpsZTdDQPuv-d6rG-R2hFEWzihJrxqZLxMduSuM697SpS07pIKxQ1CJABn1Dprw4tEEudo7AbSzQWIdEMek/w640-h266/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Elasticsearch connector configuration is stored in
Database So these settings available for all Liferay Nodes in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Just restart all Liferay Nodes in the cluster so that
all Liferay Nodes will be connecting to Remote Elasticsearch cluster and indexes
will be created in the Elasticsearch cluster. We can also use <b>Reindex control
panel feature</b> to index all search values in Elasticsearch cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Using OSGi config file<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can also use OSGi configuration file option to
connect Liferay cluster with Remote Elasticsearch.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create following configuration files and place in “<b>osgi/config”</b>
directory in each Liferay instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create “<b>com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConnectionConfiguration.config</b>”
file and add following properties<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">active="true"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">authenticationEnabled="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">connectionId="RemoteElasticSearchCluster"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">httpSSLEnabled="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">networkHostAddresses=[
\<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"http://localhost:9200", \<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"http://localhost:9201", \<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"http://localhost:9202", \<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>]<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyHost=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyPort="0"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyUserName=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">truststorePath="/path/to/localhost.p12"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">truststoreType="pkcs12"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">username="elastic"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpbx3gzivjZNyCRWtGYZCvr5DrrYXFBzUu9yh_kKR7tolH9XagOvr392OndY7lhOqWlDOhXqTsgWEmMahfTHNxxTJnJ48j3RkVaamesXe5FB-3Wa2HMx4_iQlXksbXCuq7yYsm3ZutGsjc/s1459/8.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="734" data-original-width="1459" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpbx3gzivjZNyCRWtGYZCvr5DrrYXFBzUu9yh_kKR7tolH9XagOvr392OndY7lhOqWlDOhXqTsgWEmMahfTHNxxTJnJ48j3RkVaamesXe5FB-3Wa2HMx4_iQlXksbXCuq7yYsm3ZutGsjc/w640-h322/8.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create “<b>com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration.config</b>”
file and add following properties.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">additionalConfigurations=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">additionalIndexConfigurations=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">additionalTypeMappings=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">authenticationEnabled="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">bootstrapMlockAll="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">clusterName="LiferayElasticsearchCluster"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">discoveryZenPingUnicastHostsPort="9300-9400"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">embeddedHttpPort="9201"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">httpCORSAllowOrigin="/https?:\\/\\/localhost(:[0-9]+)?/"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">httpCORSConfigurations=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">httpCORSEnabled="true"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">httpSSLEnabled="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">indexNamePrefix="liferay-"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">indexNumberOfReplicas=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">indexNumberOfShards=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">logExceptionsOnly="true"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">networkBindHost=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">networkHost=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">networkHostAddresses=[
\<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"", \<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">networkPublishHost=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">nodeName=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">operationMode="REMOTE"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">overrideTypeMappings=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">productionModeEnabled="true"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyHost=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyPort="0"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">proxyUserName=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">remoteClusterConnectionId="RemoteElasticSearchCluster"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">restClientLoggerLevel="ERROR"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarDebug="false"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarDebugSettings="-agentlib:jdwp\=transport\=dt_socket,address\=8001,server\=y,suspend\=y,quiet\=y"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarHeartbeatInterval="10000"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarHome="elasticsearch7"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarHttpPort=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarJVMOptions=[
\<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"-Xms1g", \<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"-Xmx1g", \<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>"-XX:+AlwaysPreTouch", \<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">sidecarShutdownTimeout="10000"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">trackTotalHits="true"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">transportTcpPort=""<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">truststorePath="/path/to/localhost.p12"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">truststoreType="pkcs12"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">username="elastic"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6n0rBOJZQhrCxYsVvFOgPHhdQeGf1A5xqfXMImenaD7XwqYmbVWPyZn-g8VXJ-xpPvhs8A3bJME9VB_N7DOh2VqSG4YZtv7x-xG5AC5MckNLxgQWXUAgrx0vR3SuIjCR6zc46kbU6mMbe/s1827/9.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="930" data-original-width="1827" height="326" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6n0rBOJZQhrCxYsVvFOgPHhdQeGf1A5xqfXMImenaD7XwqYmbVWPyZn-g8VXJ-xpPvhs8A3bJME9VB_N7DOh2VqSG4YZtv7x-xG5AC5MckNLxgQWXUAgrx0vR3SuIjCR6zc46kbU6mMbe/w640-h326/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u><i>Liferay Node1</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9kLbiV7bk4buu6udjehvaLBeC6Byj-XMwXn0xWh__o0Uw9RlYY4YA5Qg23LHUEV5MXhQ89s5fuUldLKI8afmjj-GqAWS5ahdy0LUd9RqELdpIXSXjXdb_f4y1_XhJ3amSMHQAgwBy35zV/s1442/6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="461" data-original-width="1442" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9kLbiV7bk4buu6udjehvaLBeC6Byj-XMwXn0xWh__o0Uw9RlYY4YA5Qg23LHUEV5MXhQ89s5fuUldLKI8afmjj-GqAWS5ahdy0LUd9RqELdpIXSXjXdb_f4y1_XhJ3amSMHQAgwBy35zV/w640-h204/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u><i>Liferay Node2</i></u></b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ZGp3xZEFeTqhc1CWswGyojzBQHLcSFPir6owSjEmiKZbYXbWWL-GMwkNYk24LJscpXJKnRHBpqVsQpTVdJAo3vekuOL5klnDnuvsyoKr1mR_ZPz40Hu-QdgHwt51K0uBtz62b-uLALSs/s1173/7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="410" data-original-width="1173" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9ZGp3xZEFeTqhc1CWswGyojzBQHLcSFPir6owSjEmiKZbYXbWWL-GMwkNYk24LJscpXJKnRHBpqVsQpTVdJAo3vekuOL5klnDnuvsyoKr1mR_ZPz40Hu-QdgHwt51K0uBtz62b-uLALSs/w640-h224/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Once place the configuration files in all Liferay
Nodes <b>osgi/config</b> location, Restart all Liferay instances.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2tag:blogger.com,1999:blog-4305105234376370815.post-85068413889846585112021-07-26T19:35:00.000+05:302021-07-26T19:35:24.620+05:30Liferay Portal Monitoring with Prometheus and Grafana<p><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Grafana</span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"> is popular
open-source solution for monitoring applications. It will provide graphical
dashboards to build monitoring visualization.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Any graphical view required data or metrics, so
metrics data will be provided by <b>Prometheus</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prometheus is another monitoring tools to pull data
from different application with help of <b>JMX Exporter Agent</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Grafana is ability to connect Prometheus to pull
metrics data and it will be represented as graphical view. We can build nice
dashboards to show metrics data in different graphical view in the Grafana web
UI.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghiuurs5j26MmZEQkVSJ8m4lZU5i0LijvOQCG5F8xDFvk-Bx8vpHlXddFqAUZljoUsxlnPvGybMynE9ec3HSl685UYuOeyYHTzxZb3xTIx2OT11kyJblzkahY-4Yzqx_E6kDEzDufwzOw1/s1551/0.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="880" data-original-width="1551" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghiuurs5j26MmZEQkVSJ8m4lZU5i0LijvOQCG5F8xDFvk-Bx8vpHlXddFqAUZljoUsxlnPvGybMynE9ec3HSl685UYuOeyYHTzxZb3xTIx2OT11kyJblzkahY-4Yzqx_E6kDEzDufwzOw1/w640-h364/0.JPG" width="640" /></a></div><br /><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span><p></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Setup a Liferay Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Following are steps to Demonstrate Liferay Cluster
Monitoring. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Setup Prometheus for Liferay Cluster</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Grafana</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Prometheus Data source in
Grafana</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create Liferay Cluster Dashboard</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Setup Prometheus for Liferay Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Follow the below article to setup Prometheus for Liferay
cluster.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-monitoring-with.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/liferay-portal-monitoring-with.html</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">After configured <b>JMX Exporter</b> for Liferay
Portal, Start all servers in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Grafana<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Follow the below article to install Grafana on
windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Prometheus Data source in
Grafana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Now it’s time to configure Prometheus Data source in
Grafana. Prometheus already have metrics data which is pulled from Liferay
portal server with help of JMX exporter Java agent. That is already covered in
the previous step.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access Grafana Web UI with following URL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:3000/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:3000/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Home page click on <b>Setting</b> and Under <b>Configuration</b>
click on “<b>Data sources</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcCEVsoT39tMoOk9r0_2xiVW_li4QHyq-eH1ExvqlBngUdb_PxAfC7xcRRSAYaaEnfPwFB7a3oC0yVzHW-JUlSL9KiRhFmVw054x4Q40CBmWfjwEt6U3J6i_MvyR9oQGMf8m9vdH6PKJIw/s1638/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="823" data-original-width="1638" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcCEVsoT39tMoOk9r0_2xiVW_li4QHyq-eH1ExvqlBngUdb_PxAfC7xcRRSAYaaEnfPwFB7a3oC0yVzHW-JUlSL9KiRhFmVw054x4Q40CBmWfjwEt6U3J6i_MvyR9oQGMf8m9vdH6PKJIw/w640-h322/2.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on <b>Add Data source</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9VsnWinqgqSePYkvsLNgzQYKnvSb2xEs2wqMs1OQWkL0VuRK7mG-VplSpPH6-3K4aGbb0CAxY6pLTHCwj4YdMhwgdZl4oOu80q_df80iKMXA5SCgSuk5uVRzxiOAMXHMWAri5tQKk10H/s1687/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="807" data-original-width="1687" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh9VsnWinqgqSePYkvsLNgzQYKnvSb2xEs2wqMs1OQWkL0VuRK7mG-VplSpPH6-3K4aGbb0CAxY6pLTHCwj4YdMhwgdZl4oOu80q_df80iKMXA5SCgSuk5uVRzxiOAMXHMWAri5tQKk10H/w640-h306/3.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Select <b>Prometheu</b>s Data source in the List.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHaB298wWimyIkzAacNpzIU_IVYOAOfVmxI32o5lh_Hff2_Ytldu_RB9xplrvwUtziEei9OEA87a8vPhj8bRPGn5DBIF_Zfumx2RMEh6R2xKSQzMEazIIi4UumnrlQLYarBBHNmZc3iBi6/s1711/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="790" data-original-width="1711" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHaB298wWimyIkzAacNpzIU_IVYOAOfVmxI32o5lh_Hff2_Ytldu_RB9xplrvwUtziEei9OEA87a8vPhj8bRPGn5DBIF_Zfumx2RMEh6R2xKSQzMEazIIi4UumnrlQLYarBBHNmZc3iBi6/w640-h296/4.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Provide <b>Prometheus URL</b> where its running.
Default port is 9090. Once provided required information click on Test &Save.
<span style="mso-spacerun: yes;"> </span>Grafana successfully connected to
Prometheus data source.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9090/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGnLwm0bY5yY4ic49o_8qWwxKGBF05EvNY7WRTb0zPstx14jkFtoqUJYf7NCA53dKjVTn0Sy0K8nryZQJXQ42WeK_LJIdD5KDcztPF2IKHwly0_0dn-ZT9-9B-r0GFemf5UvcEpFclUk4n/s1660/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="915" data-original-width="1660" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGnLwm0bY5yY4ic49o_8qWwxKGBF05EvNY7WRTb0zPstx14jkFtoqUJYf7NCA53dKjVTn0Sy0K8nryZQJXQ42WeK_LJIdD5KDcztPF2IKHwly0_0dn-ZT9-9B-r0GFemf5UvcEpFclUk4n/w640-h352/5.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create Liferay Cluster Dashboard</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Grafana home page click on <b>Dashboard</b> icon and
Click on <b>Manage</b><o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 51.0pt;"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p><p class="MsoNormal" style="tab-stops: 51.0pt;"><span style="mso-no-proof: yes;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7d_YC3j7l8ZwNXXP1KXr0oC0W9EkUFHgMHFdUNpAg4d9_V7isNCaRToCayrPN27n6LvEFjy58I6isrIIVRgkb504owgTKAHQHIRE93iKsv65uLfFwCN_KA-hBgKxaQnrOceb8XaP-plc/s1433/managedashboard.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="766" data-original-width="1433" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiw7d_YC3j7l8ZwNXXP1KXr0oC0W9EkUFHgMHFdUNpAg4d9_V7isNCaRToCayrPN27n6LvEFjy58I6isrIIVRgkb504owgTKAHQHIRE93iKsv65uLfFwCN_KA-hBgKxaQnrOceb8XaP-plc/w640-h342/managedashboard.png" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 51.0pt;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">There are free available Grafana dashboards for Tomcat.
Creating Grafana dashboard is very easy and it’s just need to import Dashboard
JSON file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to following URL and get Grafana Tomcat dashboard
file to local.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/tomcat-dashboard_rev10.json" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/tomcat-dashboard_rev10.json</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://grafana.com/api/dashboards/8704/revisions/10/download" target="_blank">https://grafana.com/api/dashboards/8704/revisions/10/download</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Import “<b>tomcat-dashboard_rev10.json</b>” file into
Grafana dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on import button.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5LYOFE4YbwFOonHvxEAUgOOyXI2nlZwjmoqAgzxHJAxZXg-e3YVBAtsMCSHoubr9Iwo4pjWCtxK9ILSL3Us1bxVOOYhA9gooUDMmHhmWgV_dZVwRQlDjFfLhhd4AzTYgwd-93LsRCW_G4/s1819/import.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="744" data-original-width="1819" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5LYOFE4YbwFOonHvxEAUgOOyXI2nlZwjmoqAgzxHJAxZXg-e3YVBAtsMCSHoubr9Iwo4pjWCtxK9ILSL3Us1bxVOOYhA9gooUDMmHhmWgV_dZVwRQlDjFfLhhd4AzTYgwd-93LsRCW_G4/w640-h262/import.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on Upload JSON file button and Select “<b>tomcat-dashboard_rev10.json</b>”
file from local drive.</span><span style="mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOa4uPGKuOvKIU6mw9ZSO3pjgXzWrXBDMjplO-MgeF-0sYeoP2x94VMkNi0GrohiXsN23Eq1ScoZmMKwhgWkl5S7vRJPW_UUNo68GH02BZhY7D1wBNRKHywyNRkfx-h5FNZhPiKjEoyKA_/s1394/imporjson.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="917" data-original-width="1394" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOa4uPGKuOvKIU6mw9ZSO3pjgXzWrXBDMjplO-MgeF-0sYeoP2x94VMkNi0GrohiXsN23Eq1ScoZmMKwhgWkl5S7vRJPW_UUNo68GH02BZhY7D1wBNRKHywyNRkfx-h5FNZhPiKjEoyKA_/w640-h422/imporjson.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Once selected file, click on import then Dashboard
will be imported into Grafana.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Te2ZaPaYwsOG2XyuU7_yN6kCQ8wXcSXfMqY4M5vDGOg4hPLAIcHdG40dCw5IGo_p1Ye55Z4HD_S2RJBBV_B9JykBqP5Ac_9kNhCVoehf2fXguOUSxiuRlzR4g7eayxhLmHn_IahemB5a/s1412/imporrjson1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="856" data-original-width="1412" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6Te2ZaPaYwsOG2XyuU7_yN6kCQ8wXcSXfMqY4M5vDGOg4hPLAIcHdG40dCw5IGo_p1Ye55Z4HD_S2RJBBV_B9JykBqP5Ac_9kNhCVoehf2fXguOUSxiuRlzR4g7eayxhLmHn_IahemB5a/w640-h388/imporrjson1.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr0sNfRxZpz20r9Gn3QrgQp53xdyL3NenNchWK2Fu7I_YIa-KwfgJ52IBDvJG96SQWcWqZrFyEpDlab0BQ4HSoMVHHv81GZvA2t0AiQsShroMRJroezEf9mcNGugsubEdrPemXcV9acjXP/s1506/dbjson.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="913" data-original-width="1506" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr0sNfRxZpz20r9Gn3QrgQp53xdyL3NenNchWK2Fu7I_YIa-KwfgJ52IBDvJG96SQWcWqZrFyEpDlab0BQ4HSoMVHHv81GZvA2t0AiQsShroMRJroezEf9mcNGugsubEdrPemXcV9acjXP/w640-h388/dbjson.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Dashboards in the Grafana home page and select <b>Tomcat
Dashboard</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0RqL2qFqcNogVL6ThV3l70clNCq2_XF285RPeIsoR4kk3QEUdgS9wTBoMVJ4hy6t5YqWO08yaEKT_nh7bvAU3OKHNTfGEgqJurQdWV343gbnL-ep0uKeRM7jkkqlvCcb6ngpsSeayhog/s1525/dashboaroveriview.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="796" data-original-width="1525" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0RqL2qFqcNogVL6ThV3l70clNCq2_XF285RPeIsoR4kk3QEUdgS9wTBoMVJ4hy6t5YqWO08yaEKT_nh7bvAU3OKHNTfGEgqJurQdWV343gbnL-ep0uKeRM7jkkqlvCcb6ngpsSeayhog/w640-h334/dashboaroveriview.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We Can see Dashboard with many panels and all metrics
will be represented as Graphs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Dashboard Screen: 1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij540cfSpUUWhqMCBcPwo4f_bF9kmohuvBa_cyxPqXd7DY5qAIJkOZX6xsY7jH2xhsD4-29H_DutRyGDRsl8JkYu9M0xMtsJuCq6IcaAhAccLEtH8ukCwBK0UCmlG7JGX3hPiSmjgv7dxd/s1907/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="990" data-original-width="1907" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij540cfSpUUWhqMCBcPwo4f_bF9kmohuvBa_cyxPqXd7DY5qAIJkOZX6xsY7jH2xhsD4-29H_DutRyGDRsl8JkYu9M0xMtsJuCq6IcaAhAccLEtH8ukCwBK0UCmlG7JGX3hPiSmjgv7dxd/w640-h332/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can edit Dashboard based on metrics provided by <b>Prometheus
or JMX Exporter.<o:p></o:p></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can see all Metrics with following JMX URL’s and
these metrics <b>attribute keys</b> are matching in Grafana Dashboard JSON file.
This is how Grafana build dashboards based on <b>JMX Metrics</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:7171/metrics" target="_blank">http://localhost:7171/metrics</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:7272/metrics" target="_blank">http://localhost:7272/metrics</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2tag:blogger.com,1999:blog-4305105234376370815.post-3207723713850958532021-07-25T20:43:00.000+05:302021-07-25T20:43:12.386+05:30Liferay Portal Monitoring with Prometheus<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Prometheus is popular opensource monitoring tool. It can
monitor applications with help of JMX Exporter Java agent.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">This Article demonstrate the Liferay Portal Server Monitoring
with Prometheus.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b>Install Liferay Cluster</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank">http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download JMX Exporter</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure JMX Exporter for Liferay Portal
Servers</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Liferay Portal with JMX Exporter
Agent</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Prometheus</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Prometheus scrape for Liferay
Portal Servers</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Verify Liferay Cluster in Prometheus</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download JMX Exporter</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download JMX Exporter jar file from following
location.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/" target="_blank">https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/</a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct link for latest JMX Exporter JAR</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/jmx_prometheus_javaagent-0.16.1.jar" target="_blank">https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.16.1/jmx_prometheus_javaagent-0.16.1.jar</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">OR</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/raw/master/jmx_prometheus_javaagent-0.16.1.jar" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/raw/master/jmx_prometheus_javaagent-0.16.1.jar</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download and get the jar to local directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-ZrmvrX4ycuz7S00t0a1SbSMoxK89KF4wmP-MN1Z42UDBdEs23Q93hdxMz578BVQPZiFovPb35znYqGfnEODzz00J6DP56V2_YbbPcyJTdBwMQgb90d0cjodPnZGtuXI-0B5OwNm5k5I/s1183/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="431" data-original-width="1183" height="234" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip-ZrmvrX4ycuz7S00t0a1SbSMoxK89KF4wmP-MN1Z42UDBdEs23Q93hdxMz578BVQPZiFovPb35znYqGfnEODzz00J6DP56V2_YbbPcyJTdBwMQgb90d0cjodPnZGtuXI-0B5OwNm5k5I/w640-h234/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure JMX Exporter for Liferay Portal
Server</span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We need to configure the exporter configuration for Liferay
Portal Server such a way JMX agent exports the required metrics from Liferay
Portal Server.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Get the following JMX Exporter configuration file from
below location and place it in local drive.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/prometheus/jmx_exporter/blob/master/example_configs/tomcat.yml" target="_blank">https://github.com/prometheus/jmx_exporter/blob/master/example_configs/tomcat.yml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">OR<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/tomcat.yml" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/tomcat.yml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can use below one too.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">lowercaseOutputLabelNames:
true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">lowercaseOutputName:
true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">rules:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">- pattern:
'Catalina<type=GlobalRequestProcessor,
name=\"(\w+-\w+)-(\d+)\"><>(\w+):'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>name: tomcat_$3_total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>port: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>protocol: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>help: Tomcat global $3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>type: COUNTER<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">- pattern:
'Catalina<j2eeType=Servlet,
WebModule=//([-a-zA-Z0-9+&@#/%?=~_|!:.,;]*[-a-zA-Z0-9+&@#/%=~_|]),
name=([-a-zA-Z0-9+/$%~_-|!.]*), J2EEApplication=none,
J2EEServer=none><>(requestCount|maxTime|processingTime|errorCount):'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>name: tomcat_servlet_$3_total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>module: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>servlet: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>help: Tomcat servlet $3 total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>type: COUNTER<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">- pattern:
'Catalina<type=ThreadPool, name="(\w+-\w+)-(\d+)"><>(currentThreadCount|currentThreadsBusy|keepAliveCount|pollerThreadCount|connectionCount):'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>name: tomcat_threadpool_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>port: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>protocol: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>help: Tomcat threadpool $3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">- pattern:
'Catalina<type=Manager,
host=([-a-zA-Z0-9+&@#/%?=~_|!:.,;]*[-a-zA-Z0-9+&@#/%=~_|]),
context=([-a-zA-Z0-9+/$%~_-|!.]*)><>(processingTime|sessionCounter|rejectedSessions|expiredSessions):'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>name: tomcat_session_$3_total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>context: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>host: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>help: Tomcat session $3 total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>type: COUNTER<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEYjeWm-NJrk8RTqd1u6_6rVtnANWFchgENbgiYnYZnH45rtssVif1PNmlIkor69aLGrbgQD52-2hZjiFykvqj-luaW1gscDac2nKOUMj_p-8UEbutaJqXvWSObKXMEqpSWISgt1a0Ft_j/s1597/2JPG.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="843" data-original-width="1597" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEYjeWm-NJrk8RTqd1u6_6rVtnANWFchgENbgiYnYZnH45rtssVif1PNmlIkor69aLGrbgQD52-2hZjiFykvqj-luaW1gscDac2nKOUMj_p-8UEbutaJqXvWSObKXMEqpSWISgt1a0Ft_j/w640-h338/2JPG.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><u>Start Liferay Portal with JMX Exporter
Agent</u></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">It’s required to start JMX Exporter agent with Liferay
Portal. Set JMX Exporter java agent in <b>JAVA_OPTS </b>in <b>setenv.bat</b> file
of Liferay Portal.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">JAVA agent syntax</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=<port>:<exporter-config-file-path><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table><br />
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br />Set <b>JAVA_OPTS</b> in Liferay setenv.bat file. Locate
to tomcat bin directory and update setenv.bat file with following JAVA_OPTS. This
need to be update in All Liferay Portal Servers in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Liferay Portal Node1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/setenv-node1.bat" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/setenv-node1.bat</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">set
"JAVA_OPTS=%JAVA_OPTS%
-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.16.1.jar=<b>7171</b>:C:/kafka-workspace/kafka-monitoring/tomcat.yml"
<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEyRhPHnwNGZ2AL0MmjJQfJJ_AZPAG-G9wJxiSgXu5_ZQeXsgGrZui3zlxicpMoackyTHDlrlsuOYc0DKuUOhbHd7Tdee-d853-XUKdnIE9EbrhnH60TnXN6FN5z6WOTRpnUVgtTcyJKI/s1710/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="803" data-original-width="1710" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEyRhPHnwNGZ2AL0MmjJQfJJ_AZPAG-G9wJxiSgXu5_ZQeXsgGrZui3zlxicpMoackyTHDlrlsuOYc0DKuUOhbHd7Tdee-d853-XUKdnIE9EbrhnH60TnXN6FN5z6WOTRpnUVgtTcyJKI/w640-h300/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></i></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Liferay Portal Node2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/setenv-node2.bat" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/setenv-node2.bat</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">set
"JAVA_OPTS=%JAVA_OPTS%
-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.16.1.jar=<b>7272</b>:C:/kafka-workspace/kafka-monitoring/tomcat.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhemxufaoCwx9zfZkt7LdCVzHgT1dxyAa2WJgxhPH3hQK70fhTECE3MbZNAZqeuTI1qCagXKjOfOuvFNdqchP3JtAzKFoNQL5L6pI3lOcl_Ai5KzC6sa8tkytFvRq_xZo4sU3DXyMSlrakt/s1690/4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="851" data-original-width="1690" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhemxufaoCwx9zfZkt7LdCVzHgT1dxyAa2WJgxhPH3hQK70fhTECE3MbZNAZqeuTI1qCagXKjOfOuvFNdqchP3JtAzKFoNQL5L6pI3lOcl_Ai5KzC6sa8tkytFvRq_xZo4sU3DXyMSlrakt/w640-h322/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Liferay Node1</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate <b>Liferay Portal
Tomcat bin </b>directory and use following commands.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">cd
C:\Liferay\Liferay74\liferay-ce-portal-7.4.1-ga2-node1\tomcat-9.0.43\bin</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">startup.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYOxVD_j47p_u7bfHoaLwGm2LoZNc6AT-XaEeCJf8hom7riuAN_ztwF8kQKOxSPHAVcCoZyIm3kI9Q5s-q-Um-DumDx1OghzZesuN2XLmTZPN9gYQnPY0C6iKROf6VJ0kN54j2Y6NXoD07/s1105/5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="650" data-original-width="1105" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYOxVD_j47p_u7bfHoaLwGm2LoZNc6AT-XaEeCJf8hom7riuAN_ztwF8kQKOxSPHAVcCoZyIm3kI9Q5s-q-Um-DumDx1OghzZesuN2XLmTZPN9gYQnPY0C6iKROf6VJ0kN54j2Y6NXoD07/w640-h376/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Liferay Node2</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate <b>Liferay Portal
Tomcat bin </b>directory and use following commands.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">cd
C:\Liferay\Liferay74\liferay-ce-portal-7.4.1-ga2-node2\tomcat-9.0.43\bin</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">startup.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNzF0w990nv8WUHu8tYEAgfN3no8c_aMcDjO8xbgydPN1itJCMfMgLFVQjf73acIiB9cHO_k0R3_z_35B4a2mOGJVMbu-iYVnOyJDxvqbyeynmK11qZ69sJh9Q3qWUSPcfaomKQCs3OGi6/s1115/6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="653" data-original-width="1115" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNzF0w990nv8WUHu8tYEAgfN3no8c_aMcDjO8xbgydPN1itJCMfMgLFVQjf73acIiB9cHO_k0R3_z_35B4a2mOGJVMbu-iYVnOyJDxvqbyeynmK11qZ69sJh9Q3qWUSPcfaomKQCs3OGi6/w640-h374/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Now Liferay Portal servers started with JMX Exporter
agent.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Make sure all JMX Exporter are started successfully and
we can access metrics with following URL’s. We are running all java agents in
same machine, its required to change ports accordingly. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span><a href="http://localhost:7171/metrics" style="font-family: "Times New Roman", serif; font-size: 14pt;" target="_blank">http://localhost:7171/metrics</a></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="http://localhost:7272/metrics" target="_blank">http://localhost:7272/metrics</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEwdNwJrImK-kCqIb59J7vymD59S1bRzkQ7TnI7ZXM4Si6DnWSYyvx0TFh5C1qq4lYWZF75THAaXMwd5Aqz1xqF98C3YO6JlNzRuXV73oDpDflEEkPeAStAAhrd8jo2cKMnhccJV-e0TG2/s1222/7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="856" data-original-width="1222" height="448" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEwdNwJrImK-kCqIb59J7vymD59S1bRzkQ7TnI7ZXM4Si6DnWSYyvx0TFh5C1qq4lYWZF75THAaXMwd5Aqz1xqF98C3YO6JlNzRuXV73oDpDflEEkPeAStAAhrd8jo2cKMnhccJV-e0TG2/w640-h448/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Prometheus<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Follow the below URL and Install Prometheus.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/prometheus-installation-on-windows.html">http://www.liferaysavvy.com/2021/07/prometheus-installation-on-windows.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Prometheus scrape for Liferay
Portal Servers<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Locate to Prometheus directory and update “<b>prometheus.yml</b>”
file with following <b>Liferay Portal Server scrape</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Find the file from following location<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/prometheus.yml" target="_blank">https://github.com/LiferaySavvy/liferay-monitoring-prometheus/blob/master/prometheus.yml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">- job_name: 'liferay'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets: ['localhost:<b>7171</b>','localhost:<b>7272</b>']<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>env: "liferay-dev"<o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Targets should be JMX Exporter java agent <b>host:port</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCLHxkvlYaNRZfwVHMAQZfRy-PwvNaAVrYBqLGxnJn0OWRtEBRycivH4ENg8EHrmfUmadXcpiBqP0tbKwQ9aIC_uCrEue5vyk5Y7mAXwmZG-Rln3JHSOJ5kYY2JfsvtQd4eig2RHKsQYzE/s1661/8.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="843" data-original-width="1661" height="324" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCLHxkvlYaNRZfwVHMAQZfRy-PwvNaAVrYBqLGxnJn0OWRtEBRycivH4ENg8EHrmfUmadXcpiBqP0tbKwQ9aIC_uCrEue5vyk5Y7mAXwmZG-Rln3JHSOJ5kYY2JfsvtQd4eig2RHKsQYzE/w640-h324/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Complete “<b>prometheus.yml</b>” file<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># my global
config<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">global:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>scrape_interval:<span style="mso-spacerun: yes;"> </span>15s # Set the scrape interval to every
15 seconds. Default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>evaluation_interval: 15s # Evaluate rules
every 15 seconds. The default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># scrape_timeout is set to the global
default (10s).<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Alertmanager
configuration<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">alerting:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>alertmanagers:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - alertmanager:9093<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Load rules
once and periodically evaluate them according to the global
'evaluation_interval'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">rule_files:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - "first_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - "second_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># A scrape
configuration containing exactly one endpoint to scrape:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Here it's
Prometheus itself.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">scrape_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># The job name is added as a label
`job=<job_name>` to any timeseries scraped from this config.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- job_name: 'prometheus'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># metrics_path defaults to '/metrics'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># scheme defaults to 'http'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets: ['localhost:9090']<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- job_name: 'liferay'<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets:
['localhost:7171','localhost:7272']<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>env: "liferay-dev"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start “Prometheus”</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to “<b>Prometheus</b>”
root directory. Use the following start command and pass <b>web listen address</b>
and <b>config file</b> as options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">prometheus.exe
--config.file prometheus.yml --web.listen-address ":9090"
--storage.tsdb.path "data"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Verify Liferay Cluster in Prometheus</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access “<b><i>Prometheus</i></b>” web interface with
following URL and its running on <b>9090</b> port.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9090/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQM4fp4M4768YQT1Iv_qUy6MAiOUEFNecrlUI_wXpmGAlt9N2V-JJWAq0TR_agnUGc7KTVgkJN9Wq_mcqUnMfv1nojAv9BSEftBmu-kSh8JAbc0zNebiVIBFdxtepoy9dWmn91ok_dtXz/s1677/targets.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="732" data-original-width="1677" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQM4fp4M4768YQT1Iv_qUy6MAiOUEFNecrlUI_wXpmGAlt9N2V-JJWAq0TR_agnUGc7KTVgkJN9Wq_mcqUnMfv1nojAv9BSEftBmu-kSh8JAbc0zNebiVIBFdxtepoy9dWmn91ok_dtXz/w640-h280/targets.png" width="640" /></a></div><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Targets Status</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Status menu and click on targets so we can see Liferay
cluster health for each Node.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgitffi0R58REf73fVg5zUZZsLgMVwLRo7rbuY8IDdEbUIL-n_20vWwYQWA8w3D9Kf-DH0N_xi-lUnbpYAGjBeMTJU_iV06svceBL-d9dhkyMRxCX9iqtty-UnrLhHMKJivTAA7NrdPzha8/s1356/targets2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1356" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgitffi0R58REf73fVg5zUZZsLgMVwLRo7rbuY8IDdEbUIL-n_20vWwYQWA8w3D9Kf-DH0N_xi-lUnbpYAGjBeMTJU_iV06svceBL-d9dhkyMRxCX9iqtty-UnrLhHMKJivTAA7NrdPzha8/w640-h316/targets2.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can see Liferay Portal Cluster health in the Prometheus.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/targets"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9090/targets</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsSi0tOgjxKn7iZuG_8tzN0F98405W_yPSzY4BiwvLJHE6VtKqzRzch83oxGLW53UecDDVjdQ8lKyzxOvYVQDDD3snPDTZlD_WDzrTjirT5cCsMMK76quEcNiMx-WGVWDmwx9wPZkJjrAV/s1645/9.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="926" data-original-width="1645" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsSi0tOgjxKn7iZuG_8tzN0F98405W_yPSzY4BiwvLJHE6VtKqzRzch83oxGLW53UecDDVjdQ8lKyzxOvYVQDDD3snPDTZlD_WDzrTjirT5cCsMMK76quEcNiMx-WGVWDmwx9wPZkJjrAV/w640-h360/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com3tag:blogger.com,1999:blog-4305105234376370815.post-21258774990914581832021-07-24T20:20:00.001+05:302021-07-24T20:24:50.916+05:30Liferay Portal Logs Monitoring with PLG<p><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">PGL</span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"> is Grafana Labs stack
which is similar to <b>ELK</b> stack. PLG is combination of <b>Promtail, Loki </b>and<b>
Grafana</b>.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;">P ---> </span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Promtail<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">L ---> </span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Loki<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">G ---> </span><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;">Grafana</span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Promtail</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Promtail</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> is independent
agent which runs in every server and send logs to Loki.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Loki</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Grafana Loki is a set of components that can be
composed into a fully featured <b>logging</b> stack. Its log aggregation
service which collects the logs from <b>Promtail</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Grafana</span></u></b></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Grafana is open-source analytics and visualization
solution. It provides charts, graphs and alerts.<span style="mso-spacerun: yes;"> </span>It connects to multiple data sources and
fetch the metrics data and monitor in Grafana visualization dashboards. Its also
have ability to monitoring applications logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJqj4MRXRZrP5n1Sk3epAUyeslxEXuSPe2jTz18y44SV0UWPZTeE4o7k4cw1m81O3E1MuI6giCbzhNvlw0QQhD7kqeKhPviziNudiunVben-eTnp9Ql2AGj1ea85OjgLP16kE2cZW-5DhO/s1588/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="901" data-original-width="1588" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJqj4MRXRZrP5n1Sk3epAUyeslxEXuSPe2jTz18y44SV0UWPZTeE4o7k4cw1m81O3E1MuI6giCbzhNvlw0QQhD7kqeKhPviziNudiunVben-eTnp9Ql2AGj1ea85OjgLP16kE2cZW-5DhO/w640-h364/0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are steps to implements Logs Monitoring
Solution for Liferay Portal.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></b></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Promtail and Configure log scraps</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Loki and setup Loki configuration
file </span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Grafana</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Loki Data source in Grafana</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Explore logs in Grafana</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Liferay Cluster <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Promtail and Configure log scraps<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Grafana Loki release page and download the latest
Promtail zip file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="https://github.com/grafana/loki/releases/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/grafana/loki/releases/</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></span></p><p class="MsoNormal"><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"><br /></span></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct Link is below<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="https://github.com/grafana/loki/releases/download/v2.2.1/promtail-windows-amd64.exe.zip" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/grafana/loki/releases/download/v2.2.1/promtail-windows-amd64.exe.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract the downloaded zip file in local<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinZ1_ssGcl-y2bafYPZyiZTOiJx7kXJmtziK6xDjUGKZcyz-XDasqldr5oL19j5KOifZS56s6Ngi599mznd6DnCi4mdOR2CsVBUqCwe3VTDS5xUQz53Prc8wqroDVrxQ-ItnKYW4NjhFOp/s1149/1.0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="364" data-original-width="1149" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinZ1_ssGcl-y2bafYPZyiZTOiJx7kXJmtziK6xDjUGKZcyz-XDasqldr5oL19j5KOifZS56s6Ngi599mznd6DnCi4mdOR2CsVBUqCwe3VTDS5xUQz53Prc8wqroDVrxQ-ItnKYW4NjhFOp/w640-h202/1.0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Get default Promtail configuration file “<b>promtail-local-config.yaml</b>”
from below URL and update the scraps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/LiferaySavvy/liferay-logs-monitoring-plg/blob/master/promtail-local-config.yaml" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>https://github.com/LiferaySavvy/liferay-logs-monitoring-plg/blob/master/promtail-local-config.yaml</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://raw.githubusercontent.com/grafana/loki/v2.2.1/cmd/promtail/promtail-local-config.yaml"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://raw.githubusercontent.com/grafana/loki/v2.2.1/cmd/promtail/promtail-local-config.yaml</span></a></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It’s required to create Jobs and log file location so
that Promtail will pull the logs from log files and send to Loki.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following is configuration yaml file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>http_listen_port: 7060<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>grpc_listen_port: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">positions:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>filename: /tmp/positions.yaml<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clients:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- url: http://localhost:<b>3100</b>/loki/api/v1/push<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">scrape_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- job_name:
grafana<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- grafana<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>job: grafana<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>__path__:
"C:/kafka-workspace/kafka-monitoring/grafana-8.0.6/data/log/grafana.log"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- job_name:
liferay-node1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- liferay-node1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>job: liferay-node1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>__path__:
"C:/Liferay/Liferay74/liferay-ce-portal-7.4.1-ga2-node1/logs/*.log"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- job_name:
liferay-node2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- liferay-node2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>job: liferay-node2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>__path__:
"C:/Liferay/Liferay74/liferay-ce-portal-7.4.1-ga2-node2/logs/*.log"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVvSdtEQWybvXVfCEIF9rA-qFtxqhrN7UTQBl6iTu0SZ3sb0PQs_q0Jt2AR_GSYnlVJ5ZQQS_RZEo7ZhnSCPbZWed1p-04Kcsw2EhkZ2XE-PwS-JP6o7XXzk4Q1a-tBy7OZ17-jqcLDDKq/s1569/2.0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="835" data-original-width="1569" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVvSdtEQWybvXVfCEIF9rA-qFtxqhrN7UTQBl6iTu0SZ3sb0PQs_q0Jt2AR_GSYnlVJ5ZQQS_RZEo7ZhnSCPbZWed1p-04Kcsw2EhkZ2XE-PwS-JP6o7XXzk4Q1a-tBy7OZ17-jqcLDDKq/w640-h340/2.0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are running two nodes of Liferay cluster,
configured two jobs. It’s also required to specify Loki end point which is
running on <b>3100</b> default port.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Promtail should be run on every server and configure
the log location and file pattern in <b>configuration yaml </b>file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Promtail service<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Promtail root
directory and use the below command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">promtail-windows-amd64.exe
--config.file=promtail-local-config.yaml</span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need to provide configuration file as input option.
Make sure service started successfully. We can see startup logs on console for
more details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAhPsT9j9Cqrw6W6rmlh3XMzNMLwLyt5jQPPtIcUZ_3Vy2lTfH548RIoKMykUzymrxMi_6aE0dt5bvZSmOrthgaaVS8GByWqud7QyGmYwucC4zEx4JpGrkiba7nQFZrsD7wIWmiYoOt-Xn/s1874/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="938" data-original-width="1874" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAhPsT9j9Cqrw6W6rmlh3XMzNMLwLyt5jQPPtIcUZ_3Vy2lTfH548RIoKMykUzymrxMi_6aE0dt5bvZSmOrthgaaVS8GByWqud7QyGmYwucC4zEx4JpGrkiba7nQFZrsD7wIWmiYoOt-Xn/w640-h320/3.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Loki and setup Loki configuration
file <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Grafana Loki release page and download the latest
Promtail zip file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="https://github.com/grafana/loki/releases/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/grafana/loki/releases/</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></span></p><p class="MsoNormal"><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"><br /></span></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct Link is below<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="https://github.com/grafana/loki/releases/download/v2.2.1/loki-windows-amd64.exe.zip" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/grafana/loki/releases/download/v2.2.1/loki-windows-amd64.exe.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract the downloaded zip file in local<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-OCQMTQdAQ84ByVcVleaL1xbThndyUsfVET6FBAn47bxjKXAbPN3TpAgsPKoNKt1mD5saCh7M8AXoe7aWANaLhE9Ix1oSzIdnjZfMT772m5uhuG_v_Eia5Tb5oJXk3aXrcKzPfWXgjea7/s1055/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="464" data-original-width="1055" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-OCQMTQdAQ84ByVcVleaL1xbThndyUsfVET6FBAn47bxjKXAbPN3TpAgsPKoNKt1mD5saCh7M8AXoe7aWANaLhE9Ix1oSzIdnjZfMT772m5uhuG_v_Eia5Tb5oJXk3aXrcKzPfWXgjea7/w640-h282/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Get default Loki configuration file “<b>loki-local-config.yaml</b>”
from below URL.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><a href="https://github.com/LiferaySavvy/liferay-logs-monitoring-plg/blob/master/loki-local-config.yaml" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/LiferaySavvy/liferay-logs-monitoring-plg/blob/master/loki-local-config.yaml</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><b> </b></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://raw.githubusercontent.com/grafana/loki/v2.2.1/cmd/loki/loki-local-config.yaml"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://raw.githubusercontent.com/grafana/loki/v2.2.1/cmd/loki/loki-local-config.yaml</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure there is no port conflicts and default port <b>3100</b>
used by Loki. If you change port for Loki, we must update information in <b>Promtail
configuration</b> file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Loki configuration yaml file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">auth_enabled:
false<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>http_listen_port: <b>3100</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>grpc_listen_port: 9096<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">ingester:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>wal:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>enabled: true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>dir: /tmp/wal<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>lifecycler:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>address: 127.0.0.1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>ring:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kvstore:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>store: inmemory<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>replication_factor: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>final_sleep: 0s<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>chunk_idle_period: 1h<span style="mso-spacerun: yes;"> </span># Any chunk not receiving new logs in
this time will be flushed<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>max_chunk_age: 1h<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span># All chunks will be flushed when they
hit this age, default is 1h<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>chunk_target_size: 1048576<span style="mso-spacerun: yes;"> </span># Loki will attempt to build chunks up to
1.5MB, flushing first if chunk_idle_period or max_chunk_age is reached first<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>chunk_retain_period: 30s<span style="mso-spacerun: yes;"> </span># Must be greater than index read cache
TTL if using an index cache (Default index read cache TTL is 5m)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>max_transfer_retries: 0<span style="mso-spacerun: yes;"> </span># Chunk transfers disabled<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">schema_config:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- from: 2020-10-24<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>store: boltdb-shipper<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>object_store: filesystem<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>schema: v11<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>index:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>prefix: index_<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>period: 24h<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">storage_config:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>boltdb_shipper:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>active_index_directory:
/tmp/loki/boltdb-shipper-active<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>cache_location:
/tmp/loki/boltdb-shipper-cache<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>cache_ttl: 24h<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span># Can be increased for faster performance
over longer query periods, uses more disk space<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>shared_store: filesystem<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>filesystem:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>directory: /tmp/loki/chunks<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">compactor:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>working_directory:
/tmp/loki/boltdb-shipper-compactor<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>shared_store: filesystem<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">limits_config:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>reject_old_samples: true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>reject_old_samples_max_age: 168h<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">chunk_store_config:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>max_look_back_period: 0s<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">table_manager:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>retention_deletes_enabled: false<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>retention_period: 0s<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">ruler:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>storage:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: local<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>local:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>directory: /tmp/loki/rules<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>rule_path: /tmp/loki/rules-temp<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>alertmanager_url: http://localhost:9093<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>ring:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kvstore:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>store: inmemory<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>enable_api: true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji7XkOhxh4iQgSPJJqE-rYhhY5DFYxMc72XYrnr-fO9J__x4RDTTltmWAqCBrcLCQlbY_kIXETlCkrjFaqpJlNMKvHbSkGvJhj3MnMaHqCqGvfkav1U7kVlOthjekOHp44SgrHCgNIYGxw/s1515/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="794" data-original-width="1515" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji7XkOhxh4iQgSPJJqE-rYhhY5DFYxMc72XYrnr-fO9J__x4RDTTltmWAqCBrcLCQlbY_kIXETlCkrjFaqpJlNMKvHbSkGvJhj3MnMaHqCqGvfkav1U7kVlOthjekOHp44SgrHCgNIYGxw/w640-h336/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Loki<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate Loki exe file location
in local drive and use following command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">loki-windows-amd64.exe
--config.file=loki-local-config.yaml</span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOrpEiTx3DOtdusckrASNNvjxWZZ-EYSc8SldVO3xtv6oQhXfrBQMViBr6hR6Ry-G7yF_qF8EqweMcDNhAoOZ2_rOORTllEIV7am4wExZPYzQuy8_jmnaiobmUXsD_q2sKSRDX8GXWMKR/s1848/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="813" data-original-width="1848" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOrpEiTx3DOtdusckrASNNvjxWZZ-EYSc8SldVO3xtv6oQhXfrBQMViBr6hR6Ry-G7yF_qF8EqweMcDNhAoOZ2_rOORTllEIV7am4wExZPYzQuy8_jmnaiobmUXsD_q2sKSRDX8GXWMKR/w640-h282/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once service is up it can accessible on <b>3100</b>
port with below URL.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:3100/metrics" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:3100/metrics</span></a></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWrsZu5XJsi3k5Yr7xHEgXctzzK44UvQBueX-_sstYvSQY8c-h9hzFD6pyMk1HxmIQNzcqU9BgaJqRiUfMT9M8J3VtApvPUJ_pdcJ1YsNYD7T1sbAXRI_tyOfGdYhQiP9j0HSKcjq_5Qn/s1141/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="897" data-original-width="1141" height="504" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyWrsZu5XJsi3k5Yr7xHEgXctzzK44UvQBueX-_sstYvSQY8c-h9hzFD6pyMk1HxmIQNzcqU9BgaJqRiUfMT9M8J3VtApvPUJ_pdcJ1YsNYD7T1sbAXRI_tyOfGdYhQiP9j0HSKcjq_5Qn/w640-h504/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It confirms that Loki is installed successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Grafana<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now it’s time to install Grafana and configure the
Loki data source in Grafana.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below URL to install Grafana.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Loki Data source in Grafana<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">To explore logs in Grafana, need to configure the Loki
Data source.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access <b>Grafana</b> with following URL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:3000/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:3000/</span></a></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 14pt; line-height: 107%;"><span style="font-family: Times New Roman, serif;">Go to setting --> </span></span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> Configuration --> </span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Data sources<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq8jNB5GiXjmeIZULSUglETKBG7e-XT3fJNgrt5M8CILu6cL9fHFgBP-nQvbex9LYiWiXnWPXNPFSdGhDyC9NPHBDflsk8uQ8886sQpZPg74cE_Kncc1KW8ld2quLHanu1h8wkCzqr7nu1/s1638/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="823" data-original-width="1638" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq8jNB5GiXjmeIZULSUglETKBG7e-XT3fJNgrt5M8CILu6cL9fHFgBP-nQvbex9LYiWiXnWPXNPFSdGhDyC9NPHBDflsk8uQ8886sQpZPg74cE_Kncc1KW8ld2quLHanu1h8wkCzqr7nu1/w640-h322/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click Add data source<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlCtYZ2qu0bIwZUDlxu9rzzK7dOLA-h8VNKkyHLIplGm66uBOslL-cceoxWB-wOzFy5Lw5ix5Q8zea4XsHn61cAUTW8UoXB5yBF6naRZdNE7hocmGTm_ZTuxSqB_PeqmPqenWGIeAfaVB/s1908/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="788" data-original-width="1908" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAlCtYZ2qu0bIwZUDlxu9rzzK7dOLA-h8VNKkyHLIplGm66uBOslL-cceoxWB-wOzFy5Lw5ix5Q8zea4XsHn61cAUTW8UoXB5yBF6naRZdNE7hocmGTm_ZTuxSqB_PeqmPqenWGIeAfaVB/w640-h264/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Select Loki Data source<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg27eHVwviFuG14XZuOlPAOZjGbXXuz_nDnuoCvZKPFfaV6xm8ChixT9DO6MXjK_HWK5pqK18tI5rdFaXPzuhyphenhyphenuVx7vn5woqT2Wts140WAkCk1M54SPkMasJhd9NpPQ5RaiOLX8-vIgFrgX/s1809/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="801" data-original-width="1809" height="284" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg27eHVwviFuG14XZuOlPAOZjGbXXuz_nDnuoCvZKPFfaV6xm8ChixT9DO6MXjK_HWK5pqK18tI5rdFaXPzuhyphenhyphenuVx7vn5woqT2Wts140WAkCk1M54SPkMasJhd9NpPQ5RaiOLX8-vIgFrgX/w640-h284/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Provide <b>Loki URL</b> in configuration. Click on <b>Save
and Test</b> button then Loki data source configured in Grafana.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:3100/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:3100</span></a></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYP7frBg30rVdZ_AOYFCHzRAHcwBMOAlz6PDbC15AHB7PQe9B6RpEjNuJ2cY-QtPcde23U8EE8bFZCnFgBeOzo9oICdNVVVGn1RhxQQrs9CI9KpJfEfTCO86_GzCbGdGsvZ3B6eMyVqmy2/s1630/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="984" data-original-width="1630" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYP7frBg30rVdZ_AOYFCHzRAHcwBMOAlz6PDbC15AHB7PQe9B6RpEjNuJ2cY-QtPcde23U8EE8bFZCnFgBeOzo9oICdNVVVGn1RhxQQrs9CI9KpJfEfTCO86_GzCbGdGsvZ3B6eMyVqmy2/w640-h386/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Explore logs in Grafana<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Grafana home page and click on <b>Explore</b>
and Select <b>Loki</b> in explore list.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpgpkC-FGm-HuKrz-uwYB9PpsWj9PDcUw7Jj8ZNBb_vLehTVPv0BXhlIE40XuArsKjSdmYNOiB12MbKA3HckKgZYkiLOrnO4MCYQcVEi6uF-PtKk4Ah-Bj4xUk-91LeI74tOeCDmuAdTsD/s1833/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="856" data-original-width="1833" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpgpkC-FGm-HuKrz-uwYB9PpsWj9PDcUw7Jj8ZNBb_vLehTVPv0BXhlIE40XuArsKjSdmYNOiB12MbKA3HckKgZYkiLOrnO4MCYQcVEi6uF-PtKk4Ah-Bj4xUk-91LeI74tOeCDmuAdTsD/w640-h298/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on <b>Log Browser --> </b></span><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> Select Jobs --> </span></b><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on Show logs</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyPBX1lCzWQGUDDykd769f35cDiqTCCuJoGYLnmwzEYIiOs8XTPnFZkMhB8cjL83_Y4B_YT6n3br0wy9797FoiInD-bCXinM37RKV-ez4fN5MCha98b_z1KZjM7pxlUWVi8AXjV6QWOQ9Z/s1814/11.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="779" data-original-width="1814" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyPBX1lCzWQGUDDykd769f35cDiqTCCuJoGYLnmwzEYIiOs8XTPnFZkMhB8cjL83_Y4B_YT6n3br0wy9797FoiInD-bCXinM37RKV-ez4fN5MCha98b_z1KZjM7pxlUWVi8AXjV6QWOQ9Z/w640-h274/11.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now we can see Liferay logs and we can also stream the
logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Logs Screen: 1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc-Shn-9r0JtrgaCbnRzsoGic11u_OF6aGPJUVhyphenhyphengcJKFYWaW-mfwS28VVQ1fAvCX4WasKJMARuJ3BB2fyxWWYVtSbno_KY9F9nakvVY6x5E74E9vf7JND6FkG71js0XmDPswnC5IstT3w/s1894/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1004" data-original-width="1894" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc-Shn-9r0JtrgaCbnRzsoGic11u_OF6aGPJUVhyphenhyphengcJKFYWaW-mfwS28VVQ1fAvCX4WasKJMARuJ3BB2fyxWWYVtSbno_KY9F9nakvVY6x5E74E9vf7JND6FkG71js0XmDPswnC5IstT3w/w640-h340/12.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Logs Screen: 2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDMBwUSKDK_Gw7mOXohoCiZ5mfK9jzghfOpqR38DArhbC5WtKFkLQzhGJnGchKo27bfTr4z5KBMvlNmwwu75iD8fq4kd-RzUrKvuBk_aaTfIcgZuqqqot2zOPIJUVLhj1krc7R0SYWMI3x/s1881/14.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="791" data-original-width="1881" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDMBwUSKDK_Gw7mOXohoCiZ5mfK9jzghfOpqR38DArhbC5WtKFkLQzhGJnGchKo27bfTr4z5KBMvlNmwwu75iD8fq4kd-RzUrKvuBk_aaTfIcgZuqqqot2zOPIJUVLhj1krc7R0SYWMI3x/w640-h270/14.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-31514853040184883322021-07-23T22:11:00.005+05:302021-07-23T22:15:08.747+05:30Kafka Cluster Monitoring with Prometheus and Grafana<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Grafana is popular open-source solution for monitoring
applications. It will provide graphical dashboards to build monitoring
visualization.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Any graphical view required data or metrics, so
metrics data will be provided by <b>Prometheus</b>.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prometheus is another monitoring tools to pull data
from different application with help of <b>JMX Exporter Agent</b>.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Grafana is ability to connect Prometheus to pull
metrics data and it will be represented as graphical view. We can build nice
dashboards to show metrics data in different graphical view in the Grafana web
UI.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3qWYOdGp4EIpXWbHTKwE_lGyfSrMPbP0mxk3836vd3txqQFyQZMbljmQXXh9YeafyTaFLrJF9KGVg406W-HD7LblVzkryHrUzM2BIpbF_94X435iuRWifMNDbf6kBQmwDD1B4W-vVihit/s1248/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="712" data-original-width="1248" height="366" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3qWYOdGp4EIpXWbHTKwE_lGyfSrMPbP0mxk3836vd3txqQFyQZMbljmQXXh9YeafyTaFLrJF9KGVg406W-HD7LblVzkryHrUzM2BIpbF_94X435iuRWifMNDbf6kBQmwDD1B4W-vVihit/w640-h366/0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup a Zookeeper Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup a Kafka Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html</b></span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following are steps to Demonstrate Kafka Cluster
Monitoring. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup Prometheus for Kafka Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Grafana<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Prometheus Data source in
Grafana<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Cluster Dashboard<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup Prometheus for Kafka Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below article to setup Prometheus for Kafka
cluster.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/kafka-monitoring-with-prometheus.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>http://www.liferaysavvy.com/2021/07/kafka-monitoring-with-prometheus.html</b></span></a></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Grafana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below article to install Grafana on
windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><a href="http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/grafana-installation-on-windows.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Prometheus Data source in
Grafana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now its time to configure Prometheus Data source in
Grafana. Prometheus already have metrics data which is pulled from Kafka with
help of JMX exporter Java agent. That is already covered in the previous step.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access Grafana Web UI with following URL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:3000/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:3000/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Home page click on <b>Setting</b> and Under <b>Configuration</b>
click on “<b>Data sources</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOXW1pbOcmAyWjlV6vYse2ghFI494uiDzs0n0gYZBRv7rlY_yu0T3DlOn8FEziVPLBL0DsMqtzb5EFk6qPPu13tVns6rlu7iHUBzFRN9GhOUyskPdksIHpdSnXZNnX7rdbML9-xb6nCPhV/s1638/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="823" data-original-width="1638" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOXW1pbOcmAyWjlV6vYse2ghFI494uiDzs0n0gYZBRv7rlY_yu0T3DlOn8FEziVPLBL0DsMqtzb5EFk6qPPu13tVns6rlu7iHUBzFRN9GhOUyskPdksIHpdSnXZNnX7rdbML9-xb6nCPhV/w640-h322/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on <b>Add Data source</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2ThzXXx3CiOUrbgJptT_P6N9A-Wh9W0zcyD9JIMJAkXZ1j8XvL4qALyazn_rluri8gBnU8TXMVI-3zJZgs-yRk5QLw-8kX-y54MhbQX_gaORXh_26uJChEouBUMexdVZqKU-ni5e1l3A/s1687/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="807" data-original-width="1687" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2ThzXXx3CiOUrbgJptT_P6N9A-Wh9W0zcyD9JIMJAkXZ1j8XvL4qALyazn_rluri8gBnU8TXMVI-3zJZgs-yRk5QLw-8kX-y54MhbQX_gaORXh_26uJChEouBUMexdVZqKU-ni5e1l3A/w640-h306/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Select <b>Prometheu</b>s Data source in the List.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNSB7q4qrsS7i9-n0dZzLa7W8UDNU3Dx6S_jAOFG2kXlFAr4W3CUrgwnDqULfDe5OqnbLXgTIL2LGtOt7g7L5XNyFqpgWoldqJdClpYsx1IQafK35dZRcPY92fnl3xl9PpG9id7kFP-Aej/s1711/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="790" data-original-width="1711" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNSB7q4qrsS7i9-n0dZzLa7W8UDNU3Dx6S_jAOFG2kXlFAr4W3CUrgwnDqULfDe5OqnbLXgTIL2LGtOt7g7L5XNyFqpgWoldqJdClpYsx1IQafK35dZRcPY92fnl3xl9PpG9id7kFP-Aej/w640-h296/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Provide <b>Prometheus URL</b> where its running.
Default port is 9090. Once provided required information click on Test &Save.
<span style="mso-spacerun: yes;"> </span>Grafana successfully connected to
Prometheus data source.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9090/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHKJEGWUatMnB9OXcSEDgL6TlFlmdlDJlsZEPLnBjlZ-qcl2Of-YRhNo60nGYbi5c5Hhyb9FsldV9boRWegmoIaWio5h3vF8y3LRxnhNw1sblNvbgrLOri3EXKZ6Lw5tLMVOrRmpwGOag2/s1660/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="915" data-original-width="1660" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHKJEGWUatMnB9OXcSEDgL6TlFlmdlDJlsZEPLnBjlZ-qcl2Of-YRhNo60nGYbi5c5Hhyb9FsldV9boRWegmoIaWio5h3vF8y3LRxnhNw1sblNvbgrLOri3EXKZ6Lw5tLMVOrRmpwGOag2/w640-h352/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Cluster Dashboard</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Grafana home page click on <b>Dashboard</b> icon and
Click on <b>Manage</b><o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 51.0pt;"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p><p class="MsoNormal" style="tab-stops: 51.0pt;"><span style="mso-no-proof: yes;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoXxilDhuRqJHGrqHjg-seV4VRr_CbUEnAp3A7QknRPDPu9V1RYLGgNY5TeBRwD2-G5iM-gD4AtQMZ4ij7HMQYiS9b4SqhHai7jBwGorXXjlCI0IY-IxOxKrMnfZqH554sQjtplUiYfc08/s1433/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="766" data-original-width="1433" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoXxilDhuRqJHGrqHjg-seV4VRr_CbUEnAp3A7QknRPDPu9V1RYLGgNY5TeBRwD2-G5iM-gD4AtQMZ4ij7HMQYiS9b4SqhHai7jBwGorXXjlCI0IY-IxOxKrMnfZqH554sQjtplUiYfc08/w640-h342/5.JPG" width="640" /></a></div><p class="MsoNormal" style="tab-stops: 51.0pt;"><br /></p><p class="MsoNormal" style="tab-stops: 51.0pt;"><br /></p><p class="MsoNormal" style="tab-stops: 51.0pt;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">There is free available Grafana dashboards for Kafka.
Creating Grafana dashboard is very easy and its just need to import Dashboard
JSON file.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to following URL and get Grafana Kafka overview
dashboard file to local.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/LiferaySavvy/kafka-monitoring/blob/master/kafka-overview.json" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/LiferaySavvy/kafka-monitoring/blob/master/kafka-overview.json</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/confluentinc/jmx-monitoring-stacks/blob/6.0.1-post/jmxexporter-prometheus-grafana/assets/prometheus/grafana/provisioning/dashboards/kafka-overview.json" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/confluentinc/jmx-monitoring-stacks/blob/6.0.1-post/jmxexporter-prometheus-grafana/assets/prometheus/grafana/provisioning/dashboards/kafka-overview.json</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Import “<b>kafka-overview.json</b>” file into Grafana
dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on import button.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_RYF1Y85KZ_HhB9jL3t7SBD-taP87SXaW-xkeQ957Lfmr5ZLGVPmxhxeP1gYcrZZ-vB7d0Q7D9cn_NxQYiHM6DKLiwao_sglD_UkeJEtG0CZHXuuj7bz_pt9fKVdrNbLn8BMDNJxzA2Mi/s1819/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="744" data-original-width="1819" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_RYF1Y85KZ_HhB9jL3t7SBD-taP87SXaW-xkeQ957Lfmr5ZLGVPmxhxeP1gYcrZZ-vB7d0Q7D9cn_NxQYiHM6DKLiwao_sglD_UkeJEtG0CZHXuuj7bz_pt9fKVdrNbLn8BMDNJxzA2Mi/w640-h262/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on Upload JSON file button and Select “<b>kafka-overview.json</b>”
file from local drive.</span><span style="mso-no-proof: yes;"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5PML7uR7FyippVgx3diImYqKW23diI0wwFHUbKl_sZ4-iE_m9YAQMzq8idQ1ZHCdPbLpJ1It4oohBpSDJEvQYXhfJj8oNNP1H58UVojglD0k6CkXR-w0vwshK-jiSjYBAZorgwPhb2vz/s1394/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="917" data-original-width="1394" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT5PML7uR7FyippVgx3diImYqKW23diI0wwFHUbKl_sZ4-iE_m9YAQMzq8idQ1ZHCdPbLpJ1It4oohBpSDJEvQYXhfJj8oNNP1H58UVojglD0k6CkXR-w0vwshK-jiSjYBAZorgwPhb2vz/w640-h422/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once selected file, click on import then Dashboard
will be imported into Grafana.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaYHnqLHhUR7hDOK9OSXGIS269vhK4LWPllZfNBGXE_mnTIXAZP_rHXgmSVfLh5N0mOU8EVEP214WXF2PGLmyLK_qOqb0QpRwgQb_kb0ZQ2c-tY53Ff2DD4WHJeWhQelH_HYpGvsBCSn4q/s1447/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="872" data-original-width="1447" height="386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaYHnqLHhUR7hDOK9OSXGIS269vhK4LWPllZfNBGXE_mnTIXAZP_rHXgmSVfLh5N0mOU8EVEP214WXF2PGLmyLK_qOqb0QpRwgQb_kb0ZQ2c-tY53Ff2DD4WHJeWhQelH_HYpGvsBCSn4q/w640-h386/8.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Very important is Job Name in <b>Prometheus</b> yml (<b>prometheus.yml</b>)
file and <b>Grafana Dashboard JSON file (kafka-overview.json)</b> Job name
should be same.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjex8Oq038kof6wJhPT4ah9GInj9_sshfx-MS8rdPueGXzNFMUyoZpb-id7es1Nfn5GqsUpElWx7TyyLYdIWHqIQu1gUlTV60UzNEo-sb4WQtx62-k0JmuiLylCYoP6m6ev0qyYV827kd1W/s1882/8.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="989" data-original-width="1882" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjex8Oq038kof6wJhPT4ah9GInj9_sshfx-MS8rdPueGXzNFMUyoZpb-id7es1Nfn5GqsUpElWx7TyyLYdIWHqIQu1gUlTV60UzNEo-sb4WQtx62-k0JmuiLylCYoP6m6ev0qyYV827kd1W/w640-h336/8.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Dashboards in the Grafana home page and select <b>Kafka
Overview</b> Dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We Can see Dashboard with many panels and all metrics
will be represented as Graphs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Dashboard Screen: 1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWYyX4-pc0TH7YSt6c5LKDL4KEJ_QVehpJQqhDhiVHHcf4zgeobXq8NNEoZQdIw2JQMZI3CluS6DS4Z9ekkPkVwrSwOAHQiipYcVjltPxQpBl04m1uOZMnM0Ch8eVMptKYXP9DkSWal__K/s1821/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="916" data-original-width="1821" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWYyX4-pc0TH7YSt6c5LKDL4KEJ_QVehpJQqhDhiVHHcf4zgeobXq8NNEoZQdIw2JQMZI3CluS6DS4Z9ekkPkVwrSwOAHQiipYcVjltPxQpBl04m1uOZMnM0Ch8eVMptKYXP9DkSWal__K/w640-h322/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Dashboard Screen: 2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji5-ynR4S2zu_M42g-Py8JsuWlmlb8ufHN467TaGj2Zx_cHJ6tqPfdI4Ww9oWk9JmuE64CWKYnkFbI3gYBgfYdyeQv1G8pBoTpg-0vR7OXKbZhkNgCUj0Tc4Zx6DvQI0OrJFRVy800JDea/s1801/db2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="992" data-original-width="1801" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji5-ynR4S2zu_M42g-Py8JsuWlmlb8ufHN467TaGj2Zx_cHJ6tqPfdI4Ww9oWk9JmuE64CWKYnkFbI3gYBgfYdyeQv1G8pBoTpg-0vR7OXKbZhkNgCUj0Tc4Zx6DvQI0OrJFRVy800JDea/w640-h352/db2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></i></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Dashboard Screen: 3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ6CL5tdqg7A8cX0yumy-uy4J546HrFXvn1RSUQDASyzhszndxB3lN4PbMtXuPQv2lkXnYRyJhIJx12PBE6sMXYCZEqpqTO9cQAEvTjCD33vQ8aMgu3DavQfuMsh4nCqsxiH8rPafwoOvX/s1703/db3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="999" data-original-width="1703" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ6CL5tdqg7A8cX0yumy-uy4J546HrFXvn1RSUQDASyzhszndxB3lN4PbMtXuPQv2lkXnYRyJhIJx12PBE6sMXYCZEqpqTO9cQAEvTjCD33vQ8aMgu3DavQfuMsh4nCqsxiH8rPafwoOvX/w640-h376/db3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Dashboard Screen: 4<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7rSaVlBRA_3Pu1xJZhCR3ZW9XfiNcODIBcVPFWwoWXZX8qL89vJKU7-rG1Qz4I47DPRWqTPYaDwAorIEA3AxymLskBouxKNQSHDojM_WioCQR5sWTvbKHF8xQc8tw_eOIk4hp6DN1Z6S8/s1833/db4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="972" data-original-width="1833" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7rSaVlBRA_3Pu1xJZhCR3ZW9XfiNcODIBcVPFWwoWXZX8qL89vJKU7-rG1Qz4I47DPRWqTPYaDwAorIEA3AxymLskBouxKNQSHDojM_WioCQR5sWTvbKHF8xQc8tw_eOIk4hp6DN1Z6S8/w640-h340/db4.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div><p class="MsoNormal"><br /></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com3tag:blogger.com,1999:blog-4305105234376370815.post-66709059137111253562021-07-23T02:03:00.003+05:302021-07-23T02:03:51.080+05:30Prometheus installation on Windows<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Prometheus is an open-source system monitoring and
alerting toolkit.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Prometheus download page and download latest
version.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://prometheus.io/download/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://prometheus.io/download/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct Links as follows<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Extract in local Drive<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><br /></span></p><p class="MsoNormal"><span style="mso-no-proof: yes;"><br /></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxB8_rfxJaV68AMBj6tTXJGm2ljpYw7Bqo76S3r00z0C1K7lwDdQIBGyv9xN1o70XrnjFFYBkiqjQ_XlDtUkLx7V0ABv_pDml_7HoZLkpzqcucXXCaHMSIGemCkZCEkusxQdvjb9Uxix_z/s938/directory.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="938" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxB8_rfxJaV68AMBj6tTXJGm2ljpYw7Bqo76S3r00z0C1K7lwDdQIBGyv9xN1o70XrnjFFYBkiqjQ_XlDtUkLx7V0ABv_pDml_7HoZLkpzqcucXXCaHMSIGemCkZCEkusxQdvjb9Uxix_z/w640-h304/directory.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start “Prometheus”</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to “Prometheus” root
directory. Use following start command and pass <b>web listen address</b> and <b>config
file</b> default <b>Prometheus</b> yml file as options.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYAe52XgMgo_iO1UQSVyqHHdaKovXKASVf84jdwm3te6Tp47QpJleQYIJFDWjK7NaceQfybOQT4LROD0dtnkbJ1cHMoa5SWnvBCHnF9IV3p8MmQR-ujNw1xLS7VY8B83_uLeOqtKKnF2Q_/s1125/yam.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="619" data-original-width="1125" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYAe52XgMgo_iO1UQSVyqHHdaKovXKASVf84jdwm3te6Tp47QpJleQYIJFDWjK7NaceQfybOQT4LROD0dtnkbJ1cHMoa5SWnvBCHnF9IV3p8MmQR-ujNw1xLS7VY8B83_uLeOqtKKnF2Q_/w640-h352/yam.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">prometheus.exe
--config.file prometheus.yml --web.listen-address ":9090"
--storage.tsdb.path "data"<o:p></o:p></span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><br /></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheheTqX_v8IufK2PqBkjixw9fjALW3Uo9PV8E0lY1tzJBn8dR3fTAGyx0bLYdeRI2bGo1tNz1BLOY2uTfmk09x8o40uVYo8zfz2nRN-99yHEePbtFJvaIc8oprM9GxSqYrtSaHQV68N7Pb/s1761/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="1761" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheheTqX_v8IufK2PqBkjixw9fjALW3Uo9PV8E0lY1tzJBn8dR3fTAGyx0bLYdeRI2bGo1tNz1BLOY2uTfmk09x8o40uVYo8zfz2nRN-99yHEePbtFJvaIc8oprM9GxSqYrtSaHQV68N7Pb/w640-h120/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Verify Installation</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access “<b><i>Prometheus</i></b>” web interface with
following URL and its running on <b>9090</b> port.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:9090/">http://localhost:9090/</a><span class="MsoHyperlink"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO8jUWMqWn5vc-EVBmZAcS0BLi9KehgArbDqsXzNa9ryymUVU55ox6ZcW1vb5FDfySgJz_emUZdYEHERtYUTd3M8dQ8atSRBTcSNWqgYzxtn2miJBFgAWomSCEQCgo_Xcw8GFrjgLoPMsc/s1677/prometheuhome.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="732" data-original-width="1677" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO8jUWMqWn5vc-EVBmZAcS0BLi9KehgArbDqsXzNa9ryymUVU55ox6ZcW1vb5FDfySgJz_emUZdYEHERtYUTd3M8dQ8atSRBTcSNWqgYzxtn2miJBFgAWomSCEQCgo_Xcw8GFrjgLoPMsc/w640-h280/prometheuhome.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Targets Status</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Status menu and click on targets so we can see
Prometheus health.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt2u_IaMysMP7Z_SdFVMxoZn1wcDB_rlvtygpjg18clB8jdGtp1WmCysaQFbapI61H_wflBJBlik6BaMtRG4Q3qbmc13O56cXFGEeNeKKHztL_AB4CCzzmvon0yV-HvQvCn__0icAWVibN/s1356/targets.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1356" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt2u_IaMysMP7Z_SdFVMxoZn1wcDB_rlvtygpjg18clB8jdGtp1WmCysaQFbapI61H_wflBJBlik6BaMtRG4Q3qbmc13O56cXFGEeNeKKHztL_AB4CCzzmvon0yV-HvQvCn__0icAWVibN/w640-h316/targets.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prometheus health.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/targets"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:9090/targets</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p><br /></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMS8i9pVGdaprr7I8SHYXZzwWosmMjri9VVcwL8Jol_BLKjJQkKLK5pe4HySfOqAcpd-67MVhQz-5oBMZKZnGZ16G4-FVTtNvo4hIkK2MSbtsXaWo4atv5_PRP7gLuzxDJXZX0D57TqSuz/s1520/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="871" data-original-width="1520" height="366" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMS8i9pVGdaprr7I8SHYXZzwWosmMjri9VVcwL8Jol_BLKjJQkKLK5pe4HySfOqAcpd-67MVhQz-5oBMZKZnGZ16G4-FVTtNvo4hIkK2MSbtsXaWo4atv5_PRP7gLuzxDJXZX0D57TqSuz/w640-h366/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com3tag:blogger.com,1999:blog-4305105234376370815.post-37559226369025120392021-07-22T22:54:00.002+05:302021-07-22T22:54:21.457+05:30Grafana Installation on Windows<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Grafana is open-source analytics and visualization solution.
It provides charts, graphs and alerts. </span><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span><span style="font-family: "Times New Roman", serif; font-size: 14pt;">It
connects to multiple data sources and fetch the metrics data and monitor in Grafana
visualization dashboards.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">It can be integrated with Prometheus monitoring tool
to create dashboard and monitor alerts.</span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download and Extract</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Grafana download page and download Grafana binary
compressed version.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://grafana.com/grafana/download?platform=windows" target="_blank">https://grafana.com/grafana/download?platform=windows</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct Link is below</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://dl.grafana.com/oss/release/grafana-8.0.6.windows-amd64.zip" target="_blank">https://dl.grafana.com/oss/release/grafana-8.0.6.windows-amd64.zip</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Extract downloaded zip file in local drive.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkucgYqq7JGflUP3-GW4psoZ5QxvGGu3vbmupKaPa_nNyS9DFHUVeh5iU1mCWkEiBhh1hUPifysi_B5BObJpWWIGSEVIzePSmskPx2xj5TLQwvc7xlRDRXyT6cis1AsZXofIAFO9j-kP_2/s1001/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="468" data-original-width="1001" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkucgYqq7JGflUP3-GW4psoZ5QxvGGu3vbmupKaPa_nNyS9DFHUVeh5iU1mCWkEiBhh1hUPifysi_B5BObJpWWIGSEVIzePSmskPx2xj5TLQwvc7xlRDRXyT6cis1AsZXofIAFO9j-kP_2/w640-h300/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Grafana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to Grafana bin directory
and start Grafana by executing “<b>grafana-server.exe</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhALRYZxnnrsVp6GF00xSYrBR-dS-SDpMNpKSkykfDIb2bHCGEVVSOXyRlI_xXDXff0My1_zplSxmlfg0j9kwhRcyfJZIkT8VDi0S_hkgpQrT9EBg-w5_d0CTfDd6L31IKMoshzGjvYN-yU/s1873/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="239" data-original-width="1873" height="82" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhALRYZxnnrsVp6GF00xSYrBR-dS-SDpMNpKSkykfDIb2bHCGEVVSOXyRlI_xXDXff0My1_zplSxmlfg0j9kwhRcyfJZIkT8VDi0S_hkgpQrT9EBg-w5_d0CTfDd6L31IKMoshzGjvYN-yU/w640-h82/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Logs it will show startup details and it will start on
port <b>3000</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzENr-RgUdvcwKnrDuW_kdLmNyIlzi5D8IFYe14_K0xNF2lKt4Np6WtzkS7CLJjCbLM-UGd8m3yGs5u6nGLx0BOqhyphenhyphentCvAtOE34OCs9i67SRL82_ayl4znkwp0kzhjUsQAStZS1Wo9paQe/s1905/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="931" data-original-width="1905" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzENr-RgUdvcwKnrDuW_kdLmNyIlzi5D8IFYe14_K0xNF2lKt4Np6WtzkS7CLJjCbLM-UGd8m3yGs5u6nGLx0BOqhyphenhyphentCvAtOE34OCs9i67SRL82_ayl4znkwp0kzhjUsQAStZS1Wo9paQe/w640-h312/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access Grafana with below URL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:3000/" target="_blank">http://localhost:3000/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Use default credentials to login to Grafana<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">User Name: <span style="mso-spacerun: yes;"> </span>admin<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Password:<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>admin<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrDl9LEKJyGIxcgWhbQA3q7Bkc25dF_zDD0w1fdpag1z7N28eUMiUzNhchZ10xe39cC7fPkrMUufjraFaUoG7n0F_fOj6BZ9xY4ThAYa-x6K7BLVk5ZJcsYd_lVUcY9_b-8F9F3qddvGxj/s1826/4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="982" data-original-width="1826" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrDl9LEKJyGIxcgWhbQA3q7Bkc25dF_zDD0w1fdpag1z7N28eUMiUzNhchZ10xe39cC7fPkrMUufjraFaUoG7n0F_fOj6BZ9xY4ThAYa-x6K7BLVk5ZJcsYd_lVUcY9_b-8F9F3qddvGxj/w640-h344/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com3tag:blogger.com,1999:blog-4305105234376370815.post-4201330103402431192021-07-21T01:38:00.004+05:302021-07-21T04:39:03.252+05:30Kafka Monitoring with Prometheus<p><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prometheus</span></b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;">
is monitoring opensource tool. Previous Article we have enabled Zookeeper
metrics and monitor in the <b>Prometheus</b>.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><a href="http://www.liferaysavvy.com/2021/07/enable-metrics-provider-in-zookeeper.html" target="_blank">http://www.liferaysavvy.com/2021/07/enable-metrics-provider-in-zookeeper.html</a></b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This article demonstrates the Kafka monitoring using Prometheus.
Prometheus uses the JMX Exporter agent to get all JVM metrics from Kafka.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to run JMX Exported Java agent in each server
where Kafka is running.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software’s and Tools</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper 3.7.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka 2.8<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">JMX Exporter Java
Agent 0.15.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">prometheus-2.28.1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr5wo52sbqQCad8COkAqvs89-qxnBo7laoxkMaX0C3ktimeRcnFQ0tiLj8aOx8O_w3ZJcu7Zs0PBvIy36il1QiIa5_mOBDzNJuzfpszVd3QAOvotMg1Q7LLlxzieIU9dNUQW8vtFjPxYA/s1254/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="714" data-original-width="1254" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr5wo52sbqQCad8COkAqvs89-qxnBo7laoxkMaX0C3ktimeRcnFQ0tiLj8aOx8O_w3ZJcu7Zs0PBvIy36il1QiIa5_mOBDzNJuzfpszVd3QAOvotMg1Q7LLlxzieIU9dNUQW8vtFjPxYA/w640-h364/0.JPG" width="640" /></a></span></div><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><o:p><br /></o:p></span><p></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Set up Zookeeper Cluster<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Set up Kafka Cluster<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><a href="http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html" target="_blank">http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html</a></b><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></b></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download JMX Exporter</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure JMX Exporter for Kafka</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka with JMX Exporter Agent</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Prometheus</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Prometheus scrape for Kafka</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Kafka brokers in Prometheus</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and Start JMX Exporter</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download JMX Exporter jar file from following
location.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/" target="_blank">https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct link for latest JMX Exporter JAR<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.15.0/jmx_prometheus_javaagent-0.15.0.jar" target="_blank">https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.15.0/jmx_prometheus_javaagent-0.15.0.jar</a></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/kafka-monitoring/raw/master/jmx_prometheus_javaagent-0.15.0.jar" target="_blank">https://github.com/LiferaySavvy/kafka-monitoring/raw/master/jmx_prometheus_javaagent-0.15.0.jar</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and get the jar to local directory.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZjB6OQw93uVg9MdlfsXlKwugpCS_ka0Cae8toWG5GtNJLXtCBDmQl0GlItGMyV8LlizHLKrqubQQtYiFfqCo4hgTdP76SK19VUzTp2j1LLpkZZ6MbCulXZvH-76GUvDID4I_SC-DALf7y/s1016/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="332" data-original-width="1016" height="210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZjB6OQw93uVg9MdlfsXlKwugpCS_ka0Cae8toWG5GtNJLXtCBDmQl0GlItGMyV8LlizHLKrqubQQtYiFfqCo4hgTdP76SK19VUzTp2j1LLpkZZ6MbCulXZvH-76GUvDID4I_SC-DALf7y/w640-h210/1.JPG" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure JMX Exporter for Kafka</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to configure the exporter configuration for
Kafka such a way JMX service exports the required metrics from Kafka.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Get the following JMX Exporter configuration file from
below location and place it in local drive.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/confluentinc/jmx-monitoring-stacks/blob/6.1.0-post/shared-assets/jmx-exporter/kafka_broker.yml" target="_blank">https://github.com/confluentinc/jmx-monitoring-stacks/blob/6.1.0-post/shared-assets/jmx-exporter/kafka_broker.yml</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OR<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/kafka-monitoring/blob/master/kafka_broker.yml" target="_blank">https://github.com/LiferaySavvy/kafka-monitoring/blob/master/kafka_broker.yml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can use below one too.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">lowercaseOutputName:
true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">rules:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Special cases
and very specific rules<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern :
kafka.server<type=(.+), name=(.+), clientId=(.+), topic=(.+),
partition=(.*)><>Value<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_server_$1_$2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>clientId: "$3"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>topic: "$4"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>partition: "$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern :
kafka.server<type=(.+), name=(.+), clientId=(.+), brokerHost=(.+),
brokerPort=(.+)><>Value<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_server_$1_$2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>clientId: "$3"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>broker: "$4:$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern :
kafka.server<type=KafkaRequestHandlerPool, name=RequestHandlerAvgIdlePercent><>OneMinuteRate<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name:
kafka_server_kafkarequesthandlerpool_requesthandleravgidlepercent_total<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern :
kafka.server<type=socket-server-metrics, clientSoftwareName=(.+),
clientSoftwareVersion=(.+), listener=(.+),
networkProcessor=(.+)><>connections<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name:
kafka_server_socketservermetrics_connections<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>client_software_name: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>client_software_version: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>listener: "$3"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>network_processor: "$4"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern :
'kafka.server<type=socket-server-metrics, listener=(.+),
networkProcessor=(.+)><>(.+):'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_server_socketservermetrics_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>listener: "$1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>network_processor: "$2"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Count and
Value<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+), (.+)=(.+),
(.+)=(.+)><>(Count|Value)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$4": "$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$6": "$7"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+), (.+)=(.+)><>(Count|Value)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$4": "$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+)><>(Count|Value)<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Percentile<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+), (.+)=(.*),
(.+)=(.+)><>(\d+)thPercentile<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$4": "$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$6": "$7"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>quantile: "0.$8"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+), (.+)=(.*)><>(\d+)thPercentile<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>"$4": "$5"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>quantile: "0.$6"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- pattern:
kafka.(.*)<type=(.+), name=(.+)><>(\d+)thPercentile<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>name: kafka_$1_$2_$3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>type: GAUGE<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>quantile: "0.$4"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhka1saAf55Obz_YsgYBS1tfex-G2VIAfAZOmg6AFmZHVsxujaw_eXIRMQHBHiYSrKySCoua-HvskjOhYHMFpSMV3_IDtTJtbPpntE4z1Fc7Ie1_2hcQyj_KwmBJjkD28p7ClDty87KmOOK/s1620/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="827" data-original-width="1620" height="326" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhka1saAf55Obz_YsgYBS1tfex-G2VIAfAZOmg6AFmZHVsxujaw_eXIRMQHBHiYSrKySCoua-HvskjOhYHMFpSMV3_IDtTJtbPpntE4z1Fc7Ie1_2hcQyj_KwmBJjkD28p7ClDty87KmOOK/w640-h326/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka with JMX Exporter Agent</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It’s required to start JMX Exporter agent with Kafka. Set
JMX Exporter java agent in <b>KAFKA_OPTS</b>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can set KAFKA_OPTS different ways and below example
is setting up directly in windows command prompt and then start Kafka.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">JAVA agent syntax<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;">-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=<port>:<exporter-config-file-path></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table><br />
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br />Set <b>KAFKA_OPTS</b> in windows as follow<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
KAFKA_OPTS=-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=8181:C:/kafka-workspace/kafka-monitoring/kafka_broker.yml<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker1 Startup</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate <b>kafka-broker1</b> root
directory and use following commands.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">cd
C:\kafka-workspace\kafka-broker1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
KAFKA_OPTS=-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=<b>8181</b>:C:/kafka-workspace/kafka-monitoring/kafka_broker.yml<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilmvTPakMuLwgQUKp-aZSEQtQOtC5vsUvR4gKRRjywfaEK1oblkktydKbrcY9W5IxkHOE_Lrfl0T2N5p4vljyoXpmiRFhwQfMG1ixKHkgvOQcV_DuLCpcOr9GkBSMPygj4PxowPeJ1a8lg/s1916/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="610" data-original-width="1916" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilmvTPakMuLwgQUKp-aZSEQtQOtC5vsUvR4gKRRjywfaEK1oblkktydKbrcY9W5IxkHOE_Lrfl0T2N5p4vljyoXpmiRFhwQfMG1ixKHkgvOQcV_DuLCpcOr9GkBSMPygj4PxowPeJ1a8lg/w640-h204/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now Kafka broker1 started with JMX Exporter agent.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Repeat the same for other brokers in the cluster<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker2 Startup<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">cd
C:\kafka-workspace\kafka-broker2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
KAFKA_OPTS=-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=<b>8282</b>:C:/kafka-workspace/kafka-monitoring/kafka_broker.yml<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker3 Startup<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">cd
C:\kafka-workspace\kafka-broker3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
KAFKA_OPTS=-javaagent:C:/kafka-workspace/kafka-monitoring/jmx_prometheus_javaagent-0.15.0.jar=<b>8383</b>:C:/kafka-workspace/kafka-monitoring/kafka_broker.yml<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure all JMX Exporter are started successfully with
following URL’s. All java agents are running in same machine, its required to change
ports accordingly. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:8181/">http://localhost:8181/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:8282/">http://localhost:8282/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:8383/">http://localhost:8383/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAfxfpdmYatv2BKD1BoC_7sRRDoQaLBMhmaMA2WwToOaYP_jmD-xbDIEr0J7QbErAFDLhuoHxk2IFgffmTpHZL11bByHHXNLu6srYwnVzV61b_eWwFgThRC-Zq897Jcc7h_WDLdEBlmlzk/s1236/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="761" data-original-width="1236" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAfxfpdmYatv2BKD1BoC_7sRRDoQaLBMhmaMA2WwToOaYP_jmD-xbDIEr0J7QbErAFDLhuoHxk2IFgffmTpHZL11bByHHXNLu6srYwnVzV61b_eWwFgThRC-Zq897Jcc7h_WDLdEBlmlzk/w640-h394/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Prometheus</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Prometheus download page and download latest
version.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="https://prometheus.io/download/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://prometheus.io/download/</span></a></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct Links as follows</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><a href="https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract in local Drive</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMGfp0ZvoctROiy700wc1xnEPmFFCcdFUBbDvZkCis1Wb_uOJhsOGO6-s5Z5XSh0tkhuovt1eTFsiBY6hj_DKmhr-9V9m9CPn-1-VCQudYLg_jwhJeWudDaBtuoJpr_CJtnNIrqLM4Pw2f/s938/5.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="938" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMGfp0ZvoctROiy700wc1xnEPmFFCcdFUBbDvZkCis1Wb_uOJhsOGO6-s5Z5XSh0tkhuovt1eTFsiBY6hj_DKmhr-9V9m9CPn-1-VCQudYLg_jwhJeWudDaBtuoJpr_CJtnNIrqLM4Pw2f/w640-h304/5.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Prometheus scrape for Kafka</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate Prometheus directory and update “<b>prometheus.yml</b>”
file with following <b>Kafka scrape</b>.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Find file from following location<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/kafka-monitoring/blob/master/prometheus.yml" target="_blank">https://github.com/LiferaySavvy/kafka-monitoring/blob/master/prometheus.yml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">- job_name:
"<b>kafka</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- <b>targets</b>: ['localhost:<b>8181'</b>,'localhost:<b>8282'</b>,'localhost:<b>8383'</b>]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>env: "kafka-dev"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p><br /></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Targets should be JMX Exporter java agent <b>host:port</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuY_wEDkSV2QCy2nwX5cAFlADL_SX2jNi9eAPeyboqguexPpjafGPUcZtfkkiZn4bUXqnDj5H_03Y0KZJCUDXYcS-m2fGwdGVbgCQGwuRMinLBb4fFWrMFHKSlx2QgC6aSpYGeiDEoMHzZ/s1632/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="784" data-original-width="1632" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuY_wEDkSV2QCy2nwX5cAFlADL_SX2jNi9eAPeyboqguexPpjafGPUcZtfkkiZn4bUXqnDj5H_03Y0KZJCUDXYcS-m2fGwdGVbgCQGwuRMinLBb4fFWrMFHKSlx2QgC6aSpYGeiDEoMHzZ/w640-h308/5.JPG" width="640" /></a></div><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Complete “<b>prometheus.yml</b>” file</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># my global
config<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">global:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>scrape_interval:<span style="mso-spacerun: yes;"> </span>15s # Set the scrape interval to every
15 seconds. Default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>evaluation_interval: 15s # Evaluate rules
every 15 seconds. The default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># scrape_timeout is set to the global
default (10s).<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Alertmanager
configuration<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">alerting:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>alertmanagers:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># - alertmanager:9093<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Load rules
once and periodically evaluate them according to the global
'evaluation_interval'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">rule_files:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># - "first_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># - "second_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># A scrape
configuration containing exactly one endpoint to scrape:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Here it's
Prometheus itself.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">scrape_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># The job name is added as a label
`job=<job_name>` to any timeseries scraped from this config.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- job_name: 'prometheus'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># metrics_path defaults to '/metrics'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span># scheme defaults to 'http'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets: ['localhost:9090']<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- job_name: "<b>kafka</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>- targets:
['localhost:8181','localhost:8282','localhost:8383']<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>labels:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>env: "<b>kafka-dev</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start “Prometheus”</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to “<b>Prometheus</b>”
root directory. Use the following start command and pass <b>web listen address</b>
and <b>config file</b> as options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">prometheus.exe
--config.file prometheus.yml --web.listen-address ":9090"
--storage.tsdb.path "data"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Kafka brokers in Prometheus</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access “<b><i>Prometheus</i></b>” web interface with
following URL and its running on <b>9090</b> port.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9090/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRCSU_BDbwtwLqTjghlgVQzzYGyNCmSMGIglSs4rbEhxC6B0DHf1_-qpsM6wKyWOpVE5k7Am4GgTa8ClWCH7Ku4HpCoPAc_W-817F7gXOSjlePvAtGqCGzvS3sW_TXDuneQaMXoRzz1Omc/s1677/6.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="732" data-original-width="1677" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRCSU_BDbwtwLqTjghlgVQzzYGyNCmSMGIglSs4rbEhxC6B0DHf1_-qpsM6wKyWOpVE5k7Am4GgTa8ClWCH7Ku4HpCoPAc_W-817F7gXOSjlePvAtGqCGzvS3sW_TXDuneQaMXoRzz1Omc/w640-h280/6.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Targets Status</span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Status menu and click on targets so we can see Kafka
cluster health for each Broker.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimAL53TtfGGGuQuLuin2Im8hkq3An4two2V9w8dYQ9dpL24M55t4pK5O6AmSLrn9ZK6-aNVTtR6T1vujaDPSDdXNkSe2bJRtvMghbiaEEbLRdorP1PBBhr_01P0X9f4mio5Vq-wyU1q44W/s1356/targets.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1356" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimAL53TtfGGGuQuLuin2Im8hkq3An4two2V9w8dYQ9dpL24M55t4pK5O6AmSLrn9ZK6-aNVTtR6T1vujaDPSDdXNkSe2bJRtvMghbiaEEbLRdorP1PBBhr_01P0X9f4mio5Vq-wyU1q44W/w640-h316/targets.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka brokers health in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9090/targets"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9090/targets</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxPcDrPIIQH2QJ5Odn54H0p381D5t9OSQTIgpHwRzTOQzw80TqvNTxYm37O5xlcIuM0bRMi02XzEv2fzHiigsLMUarke8u6PA9s1r4PT4f4GwSi-2kAccBh2Fh0Of_2AgrS5WPZhu_X48/s1788/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="765" data-original-width="1788" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyxPcDrPIIQH2QJ5Odn54H0p381D5t9OSQTIgpHwRzTOQzw80TqvNTxYm37O5xlcIuM0bRMi02XzEv2fzHiigsLMUarke8u6PA9s1r4PT4f4GwSi-2kAccBh2Fh0Of_2AgrS5WPZhu_X48/w640-h274/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Reference<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/confluentinc/jmx-monitoring-stacks" target="_blank">https://github.com/confluentinc/jmx-monitoring-stacks</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/confluentinc/jmx-monitoring-stacks/tree/6.1.0-post/shared-assets/jmx-exporter" target="_blank">https://github.com/confluentinc/jmx-monitoring-stacks/tree/6.1.0-post/shared-assets/jmx-exporter</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/enable-metrics-provider-in-zookeeper.html" target="_blank">http://www.liferaysavvy.com/2021/07/enable-metrics-provider-in-zookeeper.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-76158676988098674732021-07-20T04:45:00.001+05:302021-07-20T04:48:46.567+05:30Liferay Tomcat Access Logs to Kafka<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Tomcat access logs to keep the record of all requests processed
by the application which are deployed in tomcat server. It will log every
request and its response status. We can build many reports based on access
logs.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Default Tomcat Access logs will be writing all logs into
file when we enable it in <b>server.xml </b>file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Valve
className="org.apache.catalina.valves.AccessLogValve"
directory="logs" --><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>prefix="localhost_access_log"
suffix=".txt" <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>pattern="%h %l %u %t
&quot;%r&quot; %s %b" /><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br />Assume that if we wanted to maintain all logs in
centralized location that is Kafka. All application logs can be sent to Kafka
using <b>log4j Kafka Appender</b> but access logs are different. We will use Kafka
client API to send tomcat access logs to Kafka.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We will use Tomcat <b>Valve and Access log API</b> to implement
our <b>custom Valve</b> where we will implement logic to send access logs to
Kafka.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Create Kafka Topic</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Create Custom Tomcat Access Logs Valve</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Deploy Custom Tomcat Access Logs Valve</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Configure Custom Access Logs Valve in server.xml</b></span></li><li><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Validate Implementation</b></span></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjitBuBO3BsLWz-zUPQTJYboUP0C3zy1AxuUWGnN5tzLnIsnNOe6D2h2YnTSj6_tyXZAscnfZc0ty30c85acrjxq3gAQmq6MevMVX2p2V-2Oqt0n-dM3C3HkxloXr82xJ3p0u-27OY6bak/s1481/00.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="841" data-original-width="1481" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjitBuBO3BsLWz-zUPQTJYboUP0C3zy1AxuUWGnN5tzLnIsnNOe6D2h2YnTSj6_tyXZAscnfZc0ty30c85acrjxq3gAQmq6MevMVX2p2V-2Oqt0n-dM3C3HkxloXr82xJ3p0u-27OY6bak/w640-h364/00.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup Zookeeper Cluster<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html</b></a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup Kafka Cluster<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html</b></a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Liferay Cluster<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/centralized-logging-for-liferay-portal.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/centralized-logging-for-liferay-portal.html</b></a></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Zookeeper
Cluster</span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Kafka Cluster</span></b></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><span style="mso-spacerun: yes;"> </span><b><u>Create
Kafka Topic</u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><br /></u></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to one of the Kafka broker
bin windows directory. Use following create topic command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--<b>create</b> --zookeeper <b>localhost:2181,localhost:2182,localhost:2183</b>
--replication-factor <b>3</b> --partitions <b>3</b> --topic <b>liferay-tomcat-access-logs</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We should pass all zookeeper cluster nodes in the
options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvf2y-MdlFy8Onis7-jZYreLGNupfFBIZtJZErthb2ePZexQ2NO8lDKyOfiV0tOEqaNJw-AP61eRdl_dSnT_8muDsOKmbr11rOKQT3ubCj1c7n_Gy487axrn2eTVmAo7szGW8TjctiIm2e/s1895/createtopic.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="265" data-original-width="1895" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvf2y-MdlFy8Onis7-jZYreLGNupfFBIZtJZErthb2ePZexQ2NO8lDKyOfiV0tOEqaNJw-AP61eRdl_dSnT_8muDsOKmbr11rOKQT3ubCj1c7n_Gy487axrn2eTVmAo7szGW8TjctiIm2e/w640-h90/createtopic.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">List topics<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure topic successfully created.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--zookeeper localhost:2181,localhost:2182,localhost:2183 --list<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table><br /><br />
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br />Create Custom Tomcat Access Logs Valve<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Custom Access valve is very simple we just need
to override the log(--) method from “<b>AbstractAccessLogValve</b>” We will use
kafka clients to send message to Kafka.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i>KafkaAccessLogValve.java</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">package
com.liferaysavvy.kafka.accesslog;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferaysavvy.kafka.accesslog.constants.KafkaConstants;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferaysavvy.kafka.accesslog.producer.KafkaMessageSender;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.catalina.valves.AbstractAccessLogValve;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.juli.logging.Log;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.juli.logging.LogFactory;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
java.io.CharArrayWriter;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">public class
KafkaAccessLogValve extends AbstractAccessLogValve {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>private static final Log log =
LogFactory.getLog(KafkaAccessLogValve.class);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>@Override<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public void <b>log</b>(CharArrayWriter
message) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>try {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>new Thread(() -> new
KafkaMessageSender().sendMessage(message.toString())).start();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>/* Thread thread = new Thread(){;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public void run(){<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>System.out.println("Thread
Running");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>};<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>thread.start();*/<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>} catch (Exception e) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>log.error("Access logs are
not sending to Kafka",e);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><b><u><i>KafkaMessageSender.java</i></u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><b><u><i><br /></i></u></b></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">package
com.liferaysavvy.kafka.accesslog.producer;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferaysavvy.kafka.accesslog.config.KafkaConfig;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferaysavvy.kafka.accesslog.constants.KafkaConstants;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.clients.producer.Producer;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.clients.producer.ProducerRecord;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">public class
KafkaMessageSender {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public void sendMessage(String message) {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>final Producer<String, String>
kafkaProducer = KafkaConfig.getProducer();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>ProducerRecord<String, String>
record = new ProducerRecord<String, String>(KafkaConstants.TOPIC,
message);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kafkaProducer.send(record);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kafkaProducer.flush();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kafkaProducer.close();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i>KafkaConstants.java</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">package
com.liferaysavvy.kafka.accesslog.constants;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">public final
class KafkaConstants {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>private KafkaConstants(){}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public static final String TOPIC = "<b>liferay-tomcat-access-logs</b>";</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>// Kafka Brokers<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public static final String
BOOTSTRAP_SERVERS = "localhost:9092, localhost:9093,
localhost:9094";<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span><span style="font-family: "Times New Roman", serif; font-size: 18.6667px;"><b><u><i>KafkaConfig.java</i></u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 18.6667px;"><b><u><i><br /></i></u></b></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">package
com.liferaysavvy.kafka.accesslog.config;</span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
com.liferaysavvy.kafka.accesslog.constants.KafkaConstants;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.clients.producer.KafkaProducer;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.clients.producer.Producer;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.clients.producer.ProducerConfig;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
org.apache.kafka.common.serialization.StringSerializer;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">import
java.util.Properties;<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">public final
class KafkaConfig {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>private KafkaConfig() {}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>public static Producer<String,
String> getProducer() {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>Properties properties = new
Properties();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>properties.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG,
KafkaConstants.BOOTSTRAP_SERVERS);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;">
</span>properties.put(ProducerConfig.CLIENT_ID_CONFIG,
"TomcatKafkaAccessLog");<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;">
</span>properties.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG,
StringSerializer.class.getName());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;">
</span>properties.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG,
StringSerializer.class.getName());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>return new
KafkaProducer<>(properties);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Deploy Custom Tomcat Access Logs Valve<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Get source code from below link and build the maven
project. It will generate jar artifact. Copy generated JAR file to <b>tomcat/lib</b>
directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/LiferaySavvy/tomcat-accesslog-kafka-producer" target="_blank"><b>https://github.com/LiferaySavvy/tomcat-accesslog-kafka-producer</b></a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><b>mvn clean install</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table><br />
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br />Deploy jar file in every tomcat in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay-Node1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg-Whd8LZutmBgsdH9GanDoIdshcB2x_PwH17xFJPlEmJVon-Fqr1qxtKB0_pKFxT_NzO4s-NfoFtx5v0JTRtEbPjMz0VXclIfqJmBzwJiIx4HRSwB9xK7G9C1ZPzqu-9tyv0pQmT5_Y6Z/s1030/0.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="530" data-original-width="1030" height="330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg-Whd8LZutmBgsdH9GanDoIdshcB2x_PwH17xFJPlEmJVon-Fqr1qxtKB0_pKFxT_NzO4s-NfoFtx5v0JTRtEbPjMz0VXclIfqJmBzwJiIx4HRSwB9xK7G9C1ZPzqu-9tyv0pQmT5_Y6Z/w640-h330/0.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay-Node2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCBohu8dBWNtw4IGnGAA54Onxbdb1wJP5u9k2ejoyL0mWsUSg2pSlZYyBEdsmcBsRSg3OT0aRTVcO-Iq9cA1FpKB0l-f4SYeXN-OCDRHTq5AGkAm116x3lxq7Qr0UssFgtDfe-u9wmARnh/s1046/0.2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="612" data-original-width="1046" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCBohu8dBWNtw4IGnGAA54Onxbdb1wJP5u9k2ejoyL0mWsUSg2pSlZYyBEdsmcBsRSg3OT0aRTVcO-Iq9cA1FpKB0l-f4SYeXN-OCDRHTq5AGkAm116x3lxq7Qr0UssFgtDfe-u9wmARnh/w640-h374/0.2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Custom Access Logs Valve in “server.xml”<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to tomcat conf directory and update <b>server.xml</b>
file with custom valve configuration. Repeat the same for every node in the
Liferay cluster.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><Valve
className="</span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">com.liferaysavvy.kafka.accesslog.KafkaAccessLogValve</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;">"
pattern="%h %l %u %t &quot;%r&quot; %s %b" /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf3lh7xLTuvsR8TE56ZNSALZhn9qyl3zsIN5fUrzbdjPAyj8jHUK0VQxtws4iRvQSglb1E0CMzrK61GKbkVeBqA-ltnLLyQlfhqa5ftNoYLLVDQ7J5gKlq_hMolI_JxTbXC-S57jGpguM-/s1676/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="791" data-original-width="1676" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf3lh7xLTuvsR8TE56ZNSALZhn9qyl3zsIN5fUrzbdjPAyj8jHUK0VQxtws4iRvQSglb1E0CMzrK61GKbkVeBqA-ltnLLyQlfhqa5ftNoYLLVDQ7J5gKlq_hMolI_JxTbXC-S57jGpguM-/w640-h302/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Validate Implementation</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><b>Start Liferay
Cluster</b></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka Consumer on “<b>liferay-tomcat-access-logs</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following consumer command to start consumer.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;">kafka-console-consumer.bat
--bootstrap-server </span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">localhost:9092,localhost:9093,localhost:9094</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">--topic
liferay-tomcat-access-logs</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> --from-beginning</span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> </span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: Times New Roman, serif;"><span style="font-size: 18.6667px;"><br /></span></span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNhWgK7nhXRH10vmuTx_QU-2dJ7UvhNrPkMEuhWFBC58F0tUgfneh-Vs-iaqNebHLUbS8G4USPcOkDKMF0mtE7CZJAEvI-FlRnSbIZphxJKzbrH03Yko5UJRW_NvrkidtdKJ25huYRlZdC/s1835/Consumeer.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="41" data-original-width="1835" height="14" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNhWgK7nhXRH10vmuTx_QU-2dJ7UvhNrPkMEuhWFBC58F0tUgfneh-Vs-iaqNebHLUbS8G4USPcOkDKMF0mtE7CZJAEvI-FlRnSbIZphxJKzbrH03Yko5UJRW_NvrkidtdKJ25huYRlZdC/w640-h14/Consumeer.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see Liferay tomcat access logs in Kafka
Consumer.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFDp8BSJMk73h7tw1-T5u-OSe9tiiHnf4HXoPhyGNWrTQTihdJMosyq1zvW5dEwARjIpu9LV4hPfZX2N7YviMVoX8q0eF-wY_nuJuQa4Dhopm8TveXEMuggzcp7EAa1JYhRUaVu8KJIjuN/s1916/consumerlogs.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="804" data-original-width="1916" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFDp8BSJMk73h7tw1-T5u-OSe9tiiHnf4HXoPhyGNWrTQTihdJMosyq1zvW5dEwARjIpu9LV4hPfZX2N7YviMVoX8q0eF-wY_nuJuQa4Dhopm8TveXEMuggzcp7EAa1JYhRUaVu8KJIjuN/w640-h268/consumerlogs.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Use Kibana for logs monitoring, analyze and build
dashboards for Access Logs. Need to configure Kafka topic in Logstash input so
that logos will be available for Kibana. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below article to use Kibana for Logs monitoring.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-logs-monitoring-with-elkk.html" target="_blank"><b>http://www.liferaysavvy.com/2021/07/liferay-portal-logs-monitoring-with-elkk.html</b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2tag:blogger.com,1999:blog-4305105234376370815.post-5851061161192100272021-07-18T22:15:00.008+05:302021-07-19T18:02:22.294+05:30Liferay Portal Logs Monitoring with ELKK<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">This article demonstrates the Liferay Portal Logs
monitoring using </span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">ELKK</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> stack.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Elastic Search<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Logstash<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kibana<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Previous Article We already implemented Liferay
Centralized logging system using Kafka.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now we will use <b>Logstash</b> to pull the Liferay
Logs from Kafka and push to Elastic Search. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kibana will be used as <b>Visualization</b> and <b>Monitoring</b>
tool to analyze the Liferay portal logs.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following is Architecture diagram <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj4tZU0EEZvP95gIlajMx5d4ovH1QjHGYAnrGZN6GluQj94EjnBbF0mZRegzrtRPU3Ws0oGQPLnJco0WI3uqh5yJK5FUrGj_DwLMYbCKOPFIR6MqaIr7ZbwkZt-u4oc1xh55A9DEntcvKh/s1484/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="840" data-original-width="1484" height="362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj4tZU0EEZvP95gIlajMx5d4ovH1QjHGYAnrGZN6GluQj94EjnBbF0mZRegzrtRPU3Ws0oGQPLnJco0WI3uqh5yJK5FUrGj_DwLMYbCKOPFIR6MqaIr7ZbwkZt-u4oc1xh55A9DEntcvKh/w640-h362/0.JPG" width="640" /></a></div><br /><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software’s and Tools</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr>
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Apache24<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay 7.4<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper-3.7.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka-2.8.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Logstash-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kibana-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Elasticsearch-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"> </span></p>
</td>
</tr>
</tbody></table><p class="MsoNormal">
</p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> </span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Implement Liferay Centralized logging system from
below article which covers the Zookeeper, Kafka and Liferay Installation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/centralized-logging-for-liferay-portal.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/centralized-logging-for-liferay-portal.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It’s time to install and configure <b>ELK </b></span><span style="font-family: "Times New Roman", serif; font-size: 14pt;">stack.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"></p><ul style="text-align: left;"><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Elastic Search Cluster</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Logstash and configure
input/output pipeline and Start</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Validate Index creation in Elastic Search</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Kibana and Start</span></b></li><li><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Index Pattern in Kibana and Analyze
Liferay portal logs.</span></b></li></ul><p></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Elastic Search Cluster</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below article to install Elastic Search
Cluster<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html</span></a></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Logstash and configure
input/output pipeline and Start</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the blow article to install log stash<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/logstash-installation.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/logstash-installation.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Above Logstash install with dummy <b>input/output</b>
and now it’s time to define actual Logstash pipeline. It’s very important step.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to Logstash config location and create “<b>logstash.conf</b>”
file.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpOMRbEAYS65EeihBajZuSvHV7QLbCstoj_YNQQTehhTCvO9HVxyzjWSl4kKs-H4JKqmZYrVgVZpqVgdM5bi2Zx7ZmAwL8RtiEWguztIYGMV7UUruoKFxDPA5SbfvbyOFUQjxAn-asuUWL/s1181/0.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="472" data-original-width="1181" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpOMRbEAYS65EeihBajZuSvHV7QLbCstoj_YNQQTehhTCvO9HVxyzjWSl4kKs-H4JKqmZYrVgVZpqVgdM5bi2Zx7ZmAwL8RtiEWguztIYGMV7UUruoKFxDPA5SbfvbyOFUQjxAn-asuUWL/w640-h256/0.1.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have all logs in Kafka now we will define Logstash
pipeline input to Kafka and output to elastic search.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Use following configuration in “<b>logstash.conf</b>”
file</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">input {<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>kafka {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>bootstrap_servers => "<b>localhost:9092,localhost:9093,localhost:9094</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>topics => ["<b>liferay-kafka-logs</b>"]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">output {<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>elasticsearch {<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>hosts => ["<b>localhost:9200","localhost:9201","localhost:9202</b>"]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>index => "<b>liferay-index</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">}<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCspCXsK23ACQAZDPMsJBp-C76JdBj8h6C0chf7YouvQPaMhyphenhyphenOIzbzbcAJJJCBTbzy7MybnGPrcZi714VVY4Gt5IaW76niipw6Ph0aS_JI8Rx9aeGmI2_eVvCslL14Nc8Ts46aCykeDx_w/s1520/0.2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="741" data-original-width="1520" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCspCXsK23ACQAZDPMsJBp-C76JdBj8h6C0chf7YouvQPaMhyphenhyphenOIzbzbcAJJJCBTbzy7MybnGPrcZi714VVY4Gt5IaW76niipw6Ph0aS_JI8Rx9aeGmI2_eVvCslL14Nc8Ts46aCykeDx_w/w640-h312/0.2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Input should have Kafka bootstrap servers and Kafka
topics. All logs are sending on “<b>liferay-kafka-logs</b>” topic and same
topic was used in Liferay Log4J configuration for Kafka Appender.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Output is Elastic search cluster instances that we
already installed. We also need to provide index name so that all logs will be
tagged with given index.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Logstash root directory
and use following command to start Logstash.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\logstash.bat
-f config\logstash.conf<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-ufOuiUHFoOFPigeRRn_g05zYaNeAWm4gHis24aqNO_bI6hpp9iK8E_psnUVP5GtAZJ172fmk48i9JrFa5_9TBAMMtGm3LqKeMtnl_sHYVMQllxZNPInEPGnOYVe25TksTtseoMNKiMVH/s1329/logstashlogs.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="828" data-original-width="1329" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-ufOuiUHFoOFPigeRRn_g05zYaNeAWm4gHis24aqNO_bI6hpp9iK8E_psnUVP5GtAZJ172fmk48i9JrFa5_9TBAMMtGm3LqKeMtnl_sHYVMQllxZNPInEPGnOYVe25TksTtseoMNKiMVH/w640-h398/logstashlogs.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once Logstash started successfully, all logs are
collecting from Kafka and push to Elastic Search.</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Kibana and Start</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow the below Article to Install Kibana<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/kibana-installation.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/kibana-installation.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Validate Index creation in Elastic Search</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure Logstash given index in configuration (<b>logstash.conf</b>)
should be present in the Elastic search index list.<b><o:p></o:p></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can use any one of the Elastic cluster Node to
confirm the elastic search health and index details. All should be green in the
output.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Use below URL<o:p></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9200/_cat/indices?v" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9200/_cat/indices?v</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmSH8lHnvZXTUOz-Bam2xbENkcM_TtFG9qsaH7mbWz_AwhQxh-_Z64sLAUBIezzerBECe8cEGXTMLjnT2UrhMNL1NkRd7BZogKjK-nkB83IT965pOr_CufLK2zYQCatzhQk8CDHHN_-fyi/s1485/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="576" data-original-width="1485" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmSH8lHnvZXTUOz-Bam2xbENkcM_TtFG9qsaH7mbWz_AwhQxh-_Z64sLAUBIezzerBECe8cEGXTMLjnT2UrhMNL1NkRd7BZogKjK-nkB83IT965pOr_CufLK2zYQCatzhQk8CDHHN_-fyi/w640-h248/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure all Stack Started and following is order. If
anything, missed, <b>star/restart</b> in the order.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Zookeeper
Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Kafka
Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Liferay
Portal Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Elastic
Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Start Logstash<br />
Start Kibana<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example screen shows all services started in local machine.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRnGUCdRxmMbzfEiA1NT0Exx_C-qqTkR_JjPpai9wmr7AVPh5ohRzQtfbGADx9TZQ15rcd2TK1uQkOm0SJrC7MDG9hqCEOlaXsWPSRoC-IxAD3SPIFb3y_YuUH_M40IGaleJ0hcxfLGRG/s1918/9JPG.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="820" data-original-width="1918" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRnGUCdRxmMbzfEiA1NT0Exx_C-qqTkR_JjPpai9wmr7AVPh5ohRzQtfbGADx9TZQ15rcd2TK1uQkOm0SJrC7MDG9hqCEOlaXsWPSRoC-IxAD3SPIFb3y_YuUH_M40IGaleJ0hcxfLGRG/w640-h274/9JPG.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">ELKK Important Information <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper
Cluster<o:p></o:p></span></p>
</td>
<td style="border-left: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="background: white; color: #404040; font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="background: white; color: #404040; font-family: "Times New Roman",serif; font-size: 14pt;">localhost:<b>2181</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="background: white; color: #404040; font-family: "Times New Roman",serif; font-size: 14pt;">localhost:<b>2182</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="background: white; color: #404040; font-family: "Times New Roman",serif; font-size: 14pt;">localhost:<b>2183<o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka Cluster<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">localhost:9092<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">localhost:9093<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">localhost:9094<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay Portal
Cluster<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Elastic Cluster<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9200/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9200/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9201/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9201/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9202/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9202/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Logstash<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:9600/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:9600/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kibana<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:5601/"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">http://localhost:5601/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka Topic<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">liferay-kafka-logs<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 7; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Elastic Search
Index<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">liferay-index<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Define Index Pattern in Kibana<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">To Monitor logs in Kibana we need to create index
pattern in Kibana.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Kibana home page and click on Left side toggle
panel and Click on “<b>Stack Management</b>” and add Kibana Index pattern.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHoI06kzckVZCErYdsNGMqySDysi2Fg7a2ZFmbmgySOjL0bHX4VYk4X59MfEj14wor4xc8YzrRmR7aG68ra-GzqevmTBzLqjqmOEmekDOeWzNW_20YkxiH-iUL0CUjzrETsSPkoZSwl9yp/s1608/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1608" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHoI06kzckVZCErYdsNGMqySDysi2Fg7a2ZFmbmgySOjL0bHX4VYk4X59MfEj14wor4xc8YzrRmR7aG68ra-GzqevmTBzLqjqmOEmekDOeWzNW_20YkxiH-iUL0CUjzrETsSPkoZSwl9yp/w640-h288/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on <b>Kibana </b></span><b><span style="font-family: Wingdings; font-size: 14pt; line-height: 107%; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span></b><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
Index Pattern </span></b><b><span style="font-family: Wingdings; font-size: 14pt; line-height: 107%; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span></b><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> Create Index Pattern</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA48Cbh0d1KExM8yEs0D15Oy9dReNo05ynvf-YpCxniSZGTolnQ402ASamvp8azbYkRKXepDY35ml-FXwWqwdihhxcOHvvAaG1z4Qq4Jq4i8utFXraybSC0_uIKR64i3AGu_GzRnMTALAy/s1855/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="718" data-original-width="1855" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA48Cbh0d1KExM8yEs0D15Oy9dReNo05ynvf-YpCxniSZGTolnQ402ASamvp8azbYkRKXepDY35ml-FXwWqwdihhxcOHvvAaG1z4Qq4Jq4i8utFXraybSC0_uIKR64i3AGu_GzRnMTALAy/w640-h248/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 60.0pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Provide the index name
which we were provided in the Logstash file. You can provide exact index name
or use wildcard pattern (liferay-*).<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 60.0pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtiOhP8u6VWKRTOKrcBj7h_myoTGWVsnEyHAKg3Q7iuRYYAjxDfuMv4qIGQLS-uObLiI0lSGm_fSyB38FjznY64AF24KvlmfGYFiLIdZVfL65SKH9rIBTlBtK84tWm_XV6sI8UqZ9kTqYb/s1824/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="972" data-original-width="1824" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtiOhP8u6VWKRTOKrcBj7h_myoTGWVsnEyHAKg3Q7iuRYYAjxDfuMv4qIGQLS-uObLiI0lSGm_fSyB38FjznY64AF24KvlmfGYFiLIdZVfL65SKH9rIBTlBtK84tWm_XV6sI8UqZ9kTqYb/w640-h342/4.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 60.0pt;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Select time field and create index pattern<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKEsX2fkNWq3GWw8CLnYf73nMUSITSukq_LgC6gci-t2aCwMHJIO9fbt6Gu1NzOOWRjxWVbDfinFPtJvnk8MuI-70FU1wpmuJy0N80NWtrgqXafZupu4dewK838bYbRacmzKdu2ZnlgZ-X/s1802/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="959" data-original-width="1802" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKEsX2fkNWq3GWw8CLnYf73nMUSITSukq_LgC6gci-t2aCwMHJIO9fbt6Gu1NzOOWRjxWVbDfinFPtJvnk8MuI-70FU1wpmuJy0N80NWtrgqXafZupu4dewK838bYbRacmzKdu2ZnlgZ-X/w640-h340/5.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="text-indent: 0.5in;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 55.2pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to Analytics </span><span style="font-family: Wingdings; font-size: 14pt; line-height: 107%; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> Discovery.
We can see index in the list.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 55.2pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipDPVmcU_CFKPKWSbYR6Hd0jaTiFx3eE5u8YfMl2kXTXPX3nRNMHAwIS1OYP5x_erSF4sw6r2B9gRoLMWA5gpR0a0jLa-Sy450QTF-ROc59-sfqrQd0P3tAAE60WjY7CX0ahMkR83vQW_s/s1552/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="746" data-original-width="1552" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipDPVmcU_CFKPKWSbYR6Hd0jaTiFx3eE5u8YfMl2kXTXPX3nRNMHAwIS1OYP5x_erSF4sw6r2B9gRoLMWA5gpR0a0jLa-Sy450QTF-ROc59-sfqrQd0P3tAAE60WjY7CX0ahMkR83vQW_s/w640-h308/6.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 55.2pt;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Select newly created index and all the logs’ data
visible in the page. Change the time frame to play with logs data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6pjBufod3XO3nZGNY4fqeZcWX0S5PHjTwOwaQNnU4obtmrk08rzNJywS4hh7xIRHA61YTn6MCbcfG8tAsZDLGEEFmZeinIy36VvE-V9WTtxEaSLlxkBJsgY2s03vCxQ17xb1J1EAi0LiM/s1835/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="969" data-original-width="1835" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6pjBufod3XO3nZGNY4fqeZcWX0S5PHjTwOwaQNnU4obtmrk08rzNJywS4hh7xIRHA61YTn6MCbcfG8tAsZDLGEEFmZeinIy36VvE-V9WTtxEaSLlxkBJsgY2s03vCxQ17xb1J1EAi0LiM/w640-h338/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-39933028908548378532021-07-18T03:05:00.002+05:302021-07-18T03:05:26.896+05:30Kibana Installation<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Kibana is analytics, visualization and monitoring tool
from Elastic stack. It will connect to Elastic search and analyze and visualize
the data. Most of the organizations are using Kibana for applications log
monitoring. We can build nice Dashboards in Kibana and configure alerts as
well.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Software and Tools</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">kibana-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">elasticsearch-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prerequisite</span></u></b></p><p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install Elastic Search and Start Elastic Cluster<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/install-elastic-search-cluster.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download and Extract</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to elastic search download page and download Kibana
as per your system configurations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.elastic.co/downloads/kibana" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://www.elastic.co/downloads/kibana</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct link as follows<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://artifacts.elastic.co/downloads/kibana/kibana-7.13.3-windows-x86_64.zip" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://artifacts.elastic.co/downloads/kibana/kibana-7.13.3-windows-x86_64.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Extract downloaded zip in local drive<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7i7FlnYKvhU01pBf_amHbxfJidmPT8JZen8cDBo3rH9JwCf9nsHcvlkeVvRBVmWSvSMzaZFMLaGdHpFIt5xlOMXSF11aXofdhvGuy3GLEAFjo6ofCjYQ38R66v0r9i6TKysbRQZ7YqJUS/s1141/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="553" data-original-width="1141" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7i7FlnYKvhU01pBf_amHbxfJidmPT8JZen8cDBo3rH9JwCf9nsHcvlkeVvRBVmWSvSMzaZFMLaGdHpFIt5xlOMXSF11aXofdhvGuy3GLEAFjo6ofCjYQ38R66v0r9i6TKysbRQZ7YqJUS/w640-h310/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Kibana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Locate to Kibana conf directory and make sure elastic
search cluster nodes. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Add/Update “<b>kibana.yml</b>” with elastic cluster
nodes according to our elastic cluster installation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 672px;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 503.75pt;" valign="top" width="672">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># The URLs of
the Elasticsearch instances to use for all your queries.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">elasticsearch.hosts:
["http://localhost:9200","http://localhost:9201","http://localhost:9202"]</span></b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><br /></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><br /><br /></p><p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm7ayZ9h5SdjpWkE3V8rXoB-hnQ2jIZzuLy0Ov3RkLMM7yiMqMvVYfwQA0udLMGh_pxa2Os6yvU5q1y73igTWUQlCBnpvX0hQDtYwRwXq_SMpcgtZ-IgUHpZs-Hg9e80Iqyk_nmefv21BW/s1338/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="782" data-original-width="1338" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm7ayZ9h5SdjpWkE3V8rXoB-hnQ2jIZzuLy0Ov3RkLMM7yiMqMvVYfwQA0udLMGh_pxa2Os6yvU5q1y73igTWUQlCBnpvX0hQDtYwRwXq_SMpcgtZ-IgUHpZs-Hg9e80Iqyk_nmefv21BW/w640-h374/3.JPG" width="640" /></a></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Kibana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to root directory of Kibana
and use below command to start. Pass “<b>kibana.yaml</b>” file as startup <b>--config</b>
option for kibata.bat.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">bin\kibana.bat
--config config\kibana.yml<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKvgHH8pE_Y0eEG4QjjBcDzKyGWf2Zwh0fcgwN12o2g9QZeK69Dvt49VfjIDAQ1gp09c8aVPYbQvcweyMmxIAFbMnDMNinq83aqy2niDM8WWztf1_Yf4OYMFDtjNUp7aF3VMwR5S9Lir5L/s1043/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="458" data-original-width="1043" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKvgHH8pE_Y0eEG4QjjBcDzKyGWf2Zwh0fcgwN12o2g9QZeK69Dvt49VfjIDAQ1gp09c8aVPYbQvcweyMmxIAFbMnDMNinq83aqy2niDM8WWztf1_Yf4OYMFDtjNUp7aF3VMwR5S9Lir5L/w640-h282/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7h2A52LQCiaNVAS-oDroDic7VjqPS4lFyTA1XdiwX5qprwBwLodMDNTCbv7IUmJMeJ_3hIPU0y9T7HhlAfQ17e6ml3HQ1VASM9Abmkv01aUm2aVAxSZBxb0X2ytmWo8cCExRWYSGUQMPE/s1902/4JPG.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="956" data-original-width="1902" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7h2A52LQCiaNVAS-oDroDic7VjqPS4lFyTA1XdiwX5qprwBwLodMDNTCbv7IUmJMeJ_3hIPU0y9T7HhlAfQ17e6ml3HQ1VASM9Abmkv01aUm2aVAxSZBxb0X2ytmWo8cCExRWYSGUQMPE/w640-h322/4JPG.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Kibana will start on <b>5601</b> port and you can
access Kibana with below URL. We can Kibana startup information in console
logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><a href="http://localhost:5601/"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">http://localhost:5601/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX0S5U2LD_HPXcYBQUhfV15VfW-JbvQ5I1mx3IM-wpqvItkyebmiY31zzPmhPOlzCM2BYZ0HDkYd2S_N3brvIQ3x2pky2XLK6z_ViLiegmmhCOOzCkay0Ae1g9lxUvvc8SfHNHeTDdVbK-/s1567/5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="977" data-original-width="1567" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX0S5U2LD_HPXcYBQUhfV15VfW-JbvQ5I1mx3IM-wpqvItkyebmiY31zzPmhPOlzCM2BYZ0HDkYd2S_N3brvIQ3x2pky2XLK6z_ViLiegmmhCOOzCkay0Ae1g9lxUvvc8SfHNHeTDdVbK-/w640-h400/5.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Sample Data in Kibana</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Click on Add Data button and navigate to Kibana home
page and click on “<b>Try Sample Data</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWb8aWgGJxaepC2kosD6uU2fDtJkQUPYMzd1DHJ1jlK_QL4PRTHOYdml30YKnJWBdV6pU7j5GHegoc1ToX_nJS27Uh3UXB-1fIHXFK5k66pA8Qbh5T_HrdB2iuf-IHoWdToH1Iza58I9EJ/s1683/7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="969" data-original-width="1683" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWb8aWgGJxaepC2kosD6uU2fDtJkQUPYMzd1DHJ1jlK_QL4PRTHOYdml30YKnJWBdV6pU7j5GHegoc1ToX_nJS27Uh3UXB-1fIHXFK5k66pA8Qbh5T_HrdB2iuf-IHoWdToH1Iza58I9EJ/w640-h368/7.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">We can add any sample data from given options. We can
try <b>Sample weblogs</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7OjPFcuowplM97uMMHa_MAYLRzgduZzMa8VzWQ1r-19z75QYD2Lv9RP8QU057QHBN5Nd21FQA919eDmry7fXjry1cI98cQEEFIyBRzZLKwEGMBU_lGaoEl-kYPO23JFln445yimOT9GdO/s1717/8.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="987" data-original-width="1717" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7OjPFcuowplM97uMMHa_MAYLRzgduZzMa8VzWQ1r-19z75QYD2Lv9RP8QU057QHBN5Nd21FQA919eDmry7fXjry1cI98cQEEFIyBRzZLKwEGMBU_lGaoEl-kYPO23JFln445yimOT9GdO/w640-h368/8.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Once data is added, we can view the data. Click on
view data and select <b>Dashboard</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb9vvnFMm7Bl_dl3Ph7CIRR6yJUqunafuXGs1be-yhHt8JSmA0X76j9nHskSoFG1H6nRm-P9bGsCLBzU3c8GAJaYpe-Cqu6TZ2-blYw8WepIVcS0p-_V7_ID3jRSLhmkAVSqHaSzZj_jBa/s1642/dashboard.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="752" data-original-width="1642" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb9vvnFMm7Bl_dl3Ph7CIRR6yJUqunafuXGs1be-yhHt8JSmA0X76j9nHskSoFG1H6nRm-P9bGsCLBzU3c8GAJaYpe-Cqu6TZ2-blYw8WepIVcS0p-_V7_ID3jRSLhmkAVSqHaSzZj_jBa/w640-h294/dashboard.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Sample Web logs data dashboard as follow<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhWtGnKPxp7MR6b-7b9ZSz5hdY0a7nTHc3oHI6i6TCZzMJOfja8_z8CtUZbwhoC4rqbpTbx_na7Kxk316m4kqPtO83zx2TVdoChGhPEbvRnXnA_Zhb8Iqze19f1zRllVqAsWrMXSqGvhYg/s1772/10.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="970" data-original-width="1772" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhWtGnKPxp7MR6b-7b9ZSz5hdY0a7nTHc3oHI6i6TCZzMJOfja8_z8CtUZbwhoC4rqbpTbx_na7Kxk316m4kqPtO83zx2TVdoChGhPEbvRnXnA_Zhb8Iqze19f1zRllVqAsWrMXSqGvhYg/w640-h350/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Reference<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.elastic.co/guide/en/kibana/current/get-started.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://www.elastic.co/guide/en/kibana/current/get-started.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div><br />Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com0tag:blogger.com,1999:blog-4305105234376370815.post-58638489987270891002021-07-17T20:35:00.003+05:302021-07-17T20:35:35.525+05:30Logstash Installation<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Logstash is one of the software from Elastic stack to
collect logs from different data sources and send logs to Elastic search. It
will take data from different sources and process data as per our requirements.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig_esUITKumHV1k0NyNneBac6AqOw-lf41_49PITh1Fw63ox2b23ecEBIWMody9YROql3r5Sp3wlG18C5vYfwQuFEII_qcIoBLAKk9UFEsClKvP8yyPRvxM5x8VVGmNRIc6GlXvajjUWYJ/s1258/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="716" data-original-width="1258" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig_esUITKumHV1k0NyNneBac6AqOw-lf41_49PITh1Fw63ox2b23ecEBIWMody9YROql3r5Sp3wlG18C5vYfwQuFEII_qcIoBLAKk9UFEsClKvP8yyPRvxM5x8VVGmNRIc6GlXvajjUWYJ/w640-h364/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Software and Tools<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">logstash-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to elastic search download page and download Logstash.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://www.elastic.co/downloads/logstash" target="_blank">https://www.elastic.co/downloads/logstash</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct link as follows<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://artifacts.elastic.co/downloads/logstash/logstash-7.13.3-windows-x86_64.zip" target="_blank">https://artifacts.elastic.co/downloads/logstash/logstash-7.13.3-windows-x86_64.zip</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Extract downloaded zip in local drive<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIuFuKzap0sE_NfsMG0D9rY65GcN4ocd1e4WM-aJxaaAiNGl16N1oZGas7my8qCDv5xLGEVIHwQhJ57U_V6FTyxL7zfPrmjgffU313pLpwHHEVcal_5o8CbTnexUe75mcP2nReh6lgjCFG/s958/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="379" data-original-width="958" height="254" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIuFuKzap0sE_NfsMG0D9rY65GcN4ocd1e4WM-aJxaaAiNGl16N1oZGas7my8qCDv5xLGEVIHwQhJ57U_V6FTyxL7zfPrmjgffU313pLpwHHEVcal_5o8CbTnexUe75mcP2nReh6lgjCFG/w640-h254/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start Logstash<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to bin directory of Logstash
and use below command to start.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">logstash.bat -e
"input { stdin { } } output { stdout {} }"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglrjwGBwy_-x4GVGen5eYfJl3nQ5dbOJgJp-XuZz-1a8EJRA6rIrVAI2wocHqlXVz-I5SWhUvlIqshYFbZtWVxjUb1XHbezPvInaNz3NuhixXFBDurB3atF3OEC19Y8cVTFHv9GyYYhEyZ/s1771/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="749" data-original-width="1771" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglrjwGBwy_-x4GVGen5eYfJl3nQ5dbOJgJp-XuZz-1a8EJRA6rIrVAI2wocHqlXVz-I5SWhUvlIqshYFbZtWVxjUb1XHbezPvInaNz3NuhixXFBDurB3atF3OEC19Y8cVTFHv9GyYYhEyZ/w640-h270/3.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Actually, we need to pass Logstash configuration file
as input to start command but we have not decided <b>input/output</b>
configuration so we just started with dummy <b>input/output</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Finally, Logstash API can be accessible on <b>9600</b>
port<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:9600/" target="_blank">http://localhost:9600/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwD65HjCP7nyI96ZAWxeZYJDA-eh67d5zMD39-Y75X39AQRkpeW-HZ8mdJf90_bzYKAKLCUv7W_7GpK6nCybTIzaHeYL7MN7Izm3s0gO041-Lz4vjlnVl2qVgSru1c4i5G0rv5UK4ggeB_/s1815/4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="373" data-original-width="1815" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwD65HjCP7nyI96ZAWxeZYJDA-eh67d5zMD39-Y75X39AQRkpeW-HZ8mdJf90_bzYKAKLCUv7W_7GpK6nCybTIzaHeYL7MN7Izm3s0gO041-Lz4vjlnVl2qVgSru1c4i5G0rv5UK4ggeB_/w640-h132/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u>Reference</u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><b><u><br /></u></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://www.elastic.co/guide/en/logstash/current/introduction.html" target="_blank">https://www.elastic.co/guide/en/logstash/current/introduction.html</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com0tag:blogger.com,1999:blog-4305105234376370815.post-57378112113349024312021-07-12T01:17:00.003+05:302021-07-13T07:49:22.816+05:30Install Elastic Search Cluster<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><b>Elastic search </b>is open-source distributed search and
analytics engine based on <b>Lucene </b>search engine. It’s completely Restful implementation
and easy to use.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Elastic search is core of Elastic stack and there are
many products from elastic stack.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example demonstrating <b>3 nodes</b> elastic search cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3vDRcOVKhQyVsLorjKVDCnlhfklTrt-B8dTDY5gqcQ25JS2UcHekdT9Vkjg0MhrZAnokVUDWEkL9Gg-orWyluH4vyxZfpjzoicbSTJP268borGwAMBrelL0XBc5EFntolVEYSHhRbpxE2/s1252/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="709" data-original-width="1252" height="362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3vDRcOVKhQyVsLorjKVDCnlhfklTrt-B8dTDY5gqcQ25JS2UcHekdT9Vkjg0MhrZAnokVUDWEkL9Gg-orWyluH4vyxZfpjzoicbSTJP268borGwAMBrelL0XBc5EFntolVEYSHhRbpxE2/w640-h362/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software’s and Tools<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Elasticsearch-7.13.3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Go to elastic search download page and click on below
links to download “<b>elasticsearch-7.13.3</b>” to your local machine.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://www.elastic.co/downloads/elasticsearch" target="_blank">https://www.elastic.co/downloads/elasticsearch</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct download link<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.13.3-windows-x86_64.zip" target="_blank">https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.13.3-windows-x86_64.zip</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract downloaded elastic search zip file to local drive.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbvskr8caXXxOUlqliRMkMoeU12FhSniMP3ql_pjX5M7fqGvC_FlVnARmm3Qzw6MLOnj5HwApLtmpplHE1SqzCTejCUBoKSW0Xt81WoSS5vZY8kIixfVY870HQ5QLaT2gxJ31LmUpzGhav/s972/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="163" data-original-width="972" height="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbvskr8caXXxOUlqliRMkMoeU12FhSniMP3ql_pjX5M7fqGvC_FlVnARmm3Qzw6MLOnj5HwApLtmpplHE1SqzCTejCUBoKSW0Xt81WoSS5vZY8kIixfVY870HQ5QLaT2gxJ31LmUpzGhav/w640-h108/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Elastic Search Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Elastic Search Node1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate elastic search bin directory
and use below start command to start elastic search <b>Node1</b> in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need to provide<b> Cluster Name, Node Name, Data and Logs</b>
path as parameters.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">elasticsearch.bat
-Ecluster.name=elastic-search-cluster -Enode.name=node1<span style="mso-spacerun: yes;"> </span>-Epath.data=data1 -Epath.logs=log1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi61e4B5gDZGQNvw6oxLGz8FKfJRUwG7EH7wXUI03ec7I6iJbJwcw_kxlcSlA0FP4gqbRDk68KuciYNH8rxmWf5Juxd-FkNsVilpxbAqurXkUgge4DhCqEGQSLzjWA9PEiMV6RGKqTrpAAG/s1082/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="434" data-original-width="1082" height="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi61e4B5gDZGQNvw6oxLGz8FKfJRUwG7EH7wXUI03ec7I6iJbJwcw_kxlcSlA0FP4gqbRDk68KuciYNH8rxmWf5Juxd-FkNsVilpxbAqurXkUgge4DhCqEGQSLzjWA9PEiMV6RGKqTrpAAG/w640-h256/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIWlgZFAQTZ39-EBw_yCFGrrw6l9ZHBadKrdybHIvVZYq3yMVWd9JqAON0_CuAYmZkAKQVcFkOx28jZ6opm2tbqutOFqcMVm93gFrewhyG0mlKcVAaodIzTfuhV0VQ8FIJuntRd8t6x-6M/s1402/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="91" data-original-width="1402" height="42" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIWlgZFAQTZ39-EBw_yCFGrrw6l9ZHBadKrdybHIvVZYq3yMVWd9JqAON0_CuAYmZkAKQVcFkOx28jZ6opm2tbqutOFqcMVm93gFrewhyG0mlKcVAaodIzTfuhV0VQ8FIJuntRd8t6x-6M/w640-h42/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see logs in the console which confirms the
elastic search startup and its ports numbers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGyWwVc9Ebhf1FYJGO5kGXez8hbLTVE-aeHwMTcRCg8I-YpfvzXW0lL_X-QJT4Svr9PfcN70Ldmd-wwN26cEU_VPO-6FeoLd28coLoHIOzKNB_L54UdNzAEI7aCPHsWXjVa61Z4JXhypAN/s1894/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="937" data-original-width="1894" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGyWwVc9Ebhf1FYJGO5kGXez8hbLTVE-aeHwMTcRCg8I-YpfvzXW0lL_X-QJT4Svr9PfcN70Ldmd-wwN26cEU_VPO-6FeoLd28coLoHIOzKNB_L54UdNzAEI7aCPHsWXjVa61Z4JXhypAN/w640-h316/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We just started first node it elected as <b>Master
Node</b> and It uses the <b>9300</b> port for discovery in the cluster. Rest
services can be accessed on <b>9200</b> port.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Elastic Search Node2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open second command prompt and locate to elastic
search bin directory and use above start command.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">elasticsearch.bat
-Ecluster.name=elastic-search-cluster -Enode.name=node2<span style="mso-spacerun: yes;"> </span>-Epath.data=data2 -Epath.logs=log2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcXCNi3Uvzd6Z4ancohBFIxLq_iiriAd0iOCo65N016dxC31qpt4mTF5EBTztO-xb402XAAW2zGwy21nqniHv_JtnfV5HBzkwoXKyUpz5_aAlU9zAwFgg5m2jlv0P5UPZJqBnV_eTSB_C/s1690/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="250" data-original-width="1690" height="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmcXCNi3Uvzd6Z4ancohBFIxLq_iiriAd0iOCo65N016dxC31qpt4mTF5EBTztO-xb402XAAW2zGwy21nqniHv_JtnfV5HBzkwoXKyUpz5_aAlU9zAwFgg5m2jlv0P5UPZJqBnV_eTSB_C/w640-h94/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see logs in the console which confirms the
elastic search startup and its ports numbers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ2Lahm-n-eMAjXYn_MyJEA6QF0dZpcltHd8zY0WOxN_yltD8dbFXBhs1_QSEaS0r16gy7b_LoFBuWXbVivwSYlOIRqskxhuIolL9UaPFKNaLxQ_khpHdH977W8ibyfzgwww8id3F0iyYi/s1888/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1028" data-original-width="1888" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ2Lahm-n-eMAjXYn_MyJEA6QF0dZpcltHd8zY0WOxN_yltD8dbFXBhs1_QSEaS0r16gy7b_LoFBuWXbVivwSYlOIRqskxhuIolL9UaPFKNaLxQ_khpHdH977W8ibyfzgwww8id3F0iyYi/w640-h348/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node2 uses the <b>9301</b> port for discovery port in
the cluster. Master node will identify the node2 and it will join in the
cluster. Rest services can be accessed on <b>9201</b> port.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node 1 Master node we can see the information that <b>Node2
joined</b> in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizxyfDGEzNRgDQ_XhyphenhyphenEkkixHAGlvBWjclTMMgBQnbNF84hddx2ZhN6Kn92QREXircCqIHhnocaOFFsc1IEsjYaab6zr7UT3g5cG9S44oHHYGXQHIs-EoTXhddUkQzrLRvm4lpb9ByM5gqV/s1895/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="706" data-original-width="1895" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizxyfDGEzNRgDQ_XhyphenhyphenEkkixHAGlvBWjclTMMgBQnbNF84hddx2ZhN6Kn92QREXircCqIHhnocaOFFsc1IEsjYaab6zr7UT3g5cG9S44oHHYGXQHIs-EoTXhddUkQzrLRvm4lpb9ByM5gqV/w640-h238/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Elastic Search Node2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open 3<sup>rd</sup> command prompt and use below start
command to stat elastic search <b>Node3</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">elasticsearch.bat
-Ecluster.name=elastic-search-cluster -Enode.name=node3<span style="mso-spacerun: yes;"> </span>-Epath.data=data3 -Epath.logs=log3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP9cBpsg64naWLY4l7LzAJ-hcrd5jq0ZO-aCLhMVlOTz9mwMtOu18UaNxxeMbtVsGEulUWxkivjq4l6nT1KNN8sAmKOUn6zzQB23AUVF5kS_M_NuxLjCP-pN1UYRb_x1-L5tUx04EzAM5j/s1781/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="384" data-original-width="1781" height="138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP9cBpsg64naWLY4l7LzAJ-hcrd5jq0ZO-aCLhMVlOTz9mwMtOu18UaNxxeMbtVsGEulUWxkivjq4l6nT1KNN8sAmKOUn6zzQB23AUVF5kS_M_NuxLjCP-pN1UYRb_x1-L5tUx04EzAM5j/w640-h138/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Startup logs confirms the <b>Node3</b> startup.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlu3Q1LufFGNHHQIcrXBB5TbeJL-7prXA9W0RIHUO60a9Ghl-ldIxCep5twU1RxRGgi-eUfGSjLM1eNeIBaFcJ83rgKmXuC8yxRmOCK0seGRfmhnUR6YaNv-DF9K1mCtDzmFZ5HEdjBUZi/s1905/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1032" data-original-width="1905" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlu3Q1LufFGNHHQIcrXBB5TbeJL-7prXA9W0RIHUO60a9Ghl-ldIxCep5twU1RxRGgi-eUfGSjLM1eNeIBaFcJ83rgKmXuC8yxRmOCK0seGRfmhnUR6YaNv-DF9K1mCtDzmFZ5HEdjBUZi/w640-h346/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node3 uses the <b>9302</b> port for discovery port in
the cluster. Master node will identify the node3 and it will join in the
cluster. Rest services can be accessed on <b>9202</b> port.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node 1 Master node we can see the information that <b>Node3
joined</b> in the cluster.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6XDAqo690FfjT6MknJZ32iWnJ_cfQ5wxQLA6_lMl5IV9Nlay6YjnwYolXnj1t6E_gGassyD4z8PJfzqB0_TOvS0liy2sEpNxeaYVfnp0ZirnZq-jMBOxmINFl9D0gf2Ii3Kgz0elasAEr/s1905/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="779" data-original-width="1905" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6XDAqo690FfjT6MknJZ32iWnJ_cfQ5wxQLA6_lMl5IV9Nlay6YjnwYolXnj1t6E_gGassyD4z8PJfzqB0_TOvS0liy2sEpNxeaYVfnp0ZirnZq-jMBOxmINFl9D0gf2Ii3Kgz0elasAEr/w640-h262/12.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Cluster Information<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.8pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Nodes<o:p></o:p></span></p>
</td>
<td style="border-left: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Discovery Port<o:p></o:p></span></p>
</td>
<td style="border-left: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Rest Access <o:p></o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.8pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Node1(<b>Master</b>)<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9300</b><o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9200</b><o:p></o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.8pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Node2<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9301</b><o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9201</b><o:p></o:p></span></p>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.8pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Node3<o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9302</b><o:p></o:p></span></p>
</td>
<td style="border-bottom: 1pt solid windowtext; border-left: none; border-right: 1pt solid windowtext; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 155.85pt;" valign="top" width="208">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">127.0.0.1:<b>9202</b><o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node1 Rest Access<o:p></o:p></span></u></i></b></p>
<span face=""Calibri",sans-serif" style="font-size: 11pt; line-height: 107%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br clear="all" style="break-before: page; mso-special-character: line-break; page-break-before: always;" />
</span>
<p class="MsoNormal"><o:p> </o:p></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9200/">http://localhost:9200/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access above URL and it will return JSON data which
contains the node details<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLU_JMAFwJTKJ_8Fmznf24F5qPAcu11ocpomgzXZc6ZRtTno6DHqw7If0Ef8SwuJ9UQIWDKcgyc_uR_QqGykBOItuJrFP_7Aqt8o0dvI3s-DhO167i5Xi24DAa8d3qF9hW5Bwuinkw_kMf/s1172/13.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="510" data-original-width="1172" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLU_JMAFwJTKJ_8Fmznf24F5qPAcu11ocpomgzXZc6ZRtTno6DHqw7If0Ef8SwuJ9UQIWDKcgyc_uR_QqGykBOItuJrFP_7Aqt8o0dvI3s-DhO167i5Xi24DAa8d3qF9hW5Bwuinkw_kMf/w640-h278/13.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node2 Rest Access<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><u><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9201/">http://localhost:9201/</a><o:p></o:p></span></u></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access above URL and it will return JSON data which
contains the node details<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpsGQlF4Nifs1sIPQ_SD8mrtOpicBNQkGJ0bBTNY0jqrR2KixbQFWX3Jdkuwi3IetYx8PHToT0Fax4P2LGHDcS1T_pqdDJKjihGuxU6JAhKq2VJ1EQK11bsOpD_LgbNuSN9UQaFiTAIpHn/s993/14.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="546" data-original-width="993" height="352" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpsGQlF4Nifs1sIPQ_SD8mrtOpicBNQkGJ0bBTNY0jqrR2KixbQFWX3Jdkuwi3IetYx8PHToT0Fax4P2LGHDcS1T_pqdDJKjihGuxU6JAhKq2VJ1EQK11bsOpD_LgbNuSN9UQaFiTAIpHn/w640-h352/14.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node2 Rest Access<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><u><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9202/">http://localhost:9202/</a><o:p></o:p></span></u></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access above URL and it will return JSON data which
contains the node details<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyI0PLFIfx_fDGZ-CKq4Jm2PBWv1A0g6MjefuQDHj_EwNdiRC2P5qnsa7qHHMmdWto7ifJl5p-ohJEgh5-NxKrpag9alJJlFRDPcFJlHBWtTPifWTu6OePM5D0ExHrWD7Vey3cmvmbA2t0/s1007/15.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="605" data-original-width="1007" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyI0PLFIfx_fDGZ-CKq4Jm2PBWv1A0g6MjefuQDHj_EwNdiRC2P5qnsa7qHHMmdWto7ifJl5p-ohJEgh5-NxKrpag9alJJlFRDPcFJlHBWtTPifWTu6OePM5D0ExHrWD7Vey3cmvmbA2t0/w640-h384/15.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Check Cluster Health<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can use any one of below URL to check elastic
cluster health.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9200/_cat/health?v">http://localhost:9200/_cat/health?v</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9201/_cat/health?v">http://localhost:9201/_cat/health?v</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9202/_cat/health?v">http://localhost:9202/_cat/health?v</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL4Ja4WLZ-NYASvUWLywi4ke_qVaS6t1xmkOfePOWjSmbH6N6NjO68znf7z3sRB2DeMfUPw-5sHS9LgEUo2wkuVpA-nfprrkofQar-ww_PFZPN_lrd6gTPp7YYEVF-KjgQX00Iii_ZhaEj/s1305/16.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="465" data-original-width="1305" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL4Ja4WLZ-NYASvUWLywi4ke_qVaS6t1xmkOfePOWjSmbH6N6NjO68znf7z3sRB2DeMfUPw-5sHS9LgEUo2wkuVpA-nfprrkofQar-ww_PFZPN_lrd6gTPp7YYEVF-KjgQX00Iii_ZhaEj/w640-h228/16.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now we have successfully completed setup elastic
cluster. We can see node specific Data and Logs directories in the rood directory
of Elastic search.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2p-L4zJGFLFH7ZoO38VM9IxeS3MWLdI7njDQnU6fggRiVGnNwlzANNLxg4oJrJLytOMSvHlcgiDQM193mYJVpOoXn3VcpH_8-LNvchfLXAvtSW7v45k4_TBOptXZD0AdGYG-gCGKA-YzP/s1116/17.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="584" data-original-width="1116" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2p-L4zJGFLFH7ZoO38VM9IxeS3MWLdI7njDQnU6fggRiVGnNwlzANNLxg4oJrJLytOMSvHlcgiDQM193mYJVpOoXn3VcpH_8-LNvchfLXAvtSW7v45k4_TBOptXZD0AdGYG-gCGKA-YzP/w640-h334/17.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can use any node Rest access to do elastic
operations like create document and search. Follow elastic search quick start guide
to know more about operations.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">References<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started.html" target="_blank">https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-81215390800365570222021-07-11T05:12:00.003+05:302021-07-18T04:42:36.978+05:30Centralized Logging for Liferay Portal<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Kafka is distributed streaming system based on “</span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">publish
and subscribe to”</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> model. We can use Kafka for centralized logging system
for applications.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This article demonstrate the implementation of <span style="mso-spacerun: yes;"> </span>Kafka centralized logging system for Liferay
Portal. This will be used in Liferay cluster environments to check all Liferay
Nodes logs at one place.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite</span></u></i></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Cluster with 3 Nodes<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Cluster with 2 Nodes<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software’s and Tools<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka 2.8<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper 3.5.9
(Embedded in Kafka)<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Liferay 7.4 CE<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Steps to implement Centralized Logging for Liferay<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup a Kafka Cluster with 3 Brokers<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Setup a Liferay Cluster with 2 Nodes<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Kafka Appender<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add required JAR’s<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add Liferay Node system property<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Topic<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka consumer</span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Liferay Cluster<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">View Liferay Cluster logs in Kafka Consumer<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Architecture Diagram<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP8YUrmO3J00Sg7LHVhpEJE7n5w_GeFyu1IgTf_zYuz50VnwVwwi-0GECjtnKtNdjpMEP_YSedDFBc-3cuFliMhKYS0kUt-98apx2C0D2KQgtbua5AQEM5hiwv9_f_tYSdI6MG4Ofg3tlD/s1210/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="690" data-original-width="1210" height="364" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP8YUrmO3J00Sg7LHVhpEJE7n5w_GeFyu1IgTf_zYuz50VnwVwwi-0GECjtnKtNdjpMEP_YSedDFBc-3cuFliMhKYS0kUt-98apx2C0D2KQgtbua5AQEM5hiwv9_f_tYSdI6MG4Ofg3tlD/w640-h364/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><u>Setup a Kafka Cluster with 3 Brokers</u><o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This demonstration required Kafka cluster and follow
below article to setup a Kafka cluster on windows.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html" target="_blank">http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><u>Setup a Liferay Cluster with 2 Nodes</u><o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are setting up centralized logging system for
Liferay portal so we needed Liferay Cluster up and running.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow below article to setup Liferay Cluster<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank">http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Kafka Appender<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need to configure Kafka Appender in portal log4j
configuration. If any customization to Liferay portal log4j required to update configuration
in “<b>portal-log4j-ext.xml</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create <b>META-INF</b> directory in each Liferay
Portal instance tomcat lib directory<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3VEhogL5H2SMARUUN-kyHDn3cLH3xVaSwwfmSEBdvYsVRAf8RQsJuXAxzuzhEr_vL1JoubjMk8xPJD9JKg9ayhT62K4AxDQE_xRIbqV34g9D6ir-Rz9McBbX6hBF0vb9Jc0gBxYiTWfdh/s1131/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="351" data-original-width="1131" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3VEhogL5H2SMARUUN-kyHDn3cLH3xVaSwwfmSEBdvYsVRAf8RQsJuXAxzuzhEr_vL1JoubjMk8xPJD9JKg9ayhT62K4AxDQE_xRIbqV34g9D6ir-Rz9McBbX6hBF0vb9Jc0gBxYiTWfdh/w640-h198/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create “<b>portal-log4j-ext.xml</b>” file in <b>META-INF</b>
directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifMbj_jxCqdjeBXlBw2khQ_2xA5ngm0pLM26TMo0elpygl9TAFcDG9C6J24omBRN3na6P_NIdzTNGWvjYUhcLAsu3BGuiCG0Ut_Dl2gD7V3dHgZIFdXV4cGxH_dnVS3IFaQH7J4kI-kHWT/s903/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="323" data-original-width="903" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifMbj_jxCqdjeBXlBw2khQ_2xA5ngm0pLM26TMo0elpygl9TAFcDG9C6J24omBRN3na6P_NIdzTNGWvjYUhcLAsu3BGuiCG0Ut_Dl2gD7V3dHgZIFdXV4cGxH_dnVS3IFaQH7J4kI-kHWT/w640-h228/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add <b>Kafka Appender configuration</b> in addition to
existing Liferay Portal Log4J configuration. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Following is Kafka Appender configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Kafka
name="<b>Kafka</b>" topic="liferay-kafka-logs"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><PatternLayout pattern<b>="${sys:liferay.node}</b>
%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%t][%c{1}:%L] %m%n"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Property
name="bootstrap.servers"><b>localhost:9092,localhost:9093,localhost:9094</b></Property><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span></Kafka><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Async name="<b>KafkaAsync</b>"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><AppenderRef ref="<b>Kafka</b>"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span></Async><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Loggers><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><Root
level="INFO"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><AppenderRef
ref="<b>KafkaAsync</b>"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span></Root><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span></Loggers><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">“bootstrap.servers</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">”
are the Kafka cluster hosts and its ports and each one should comma separated.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Topic</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> attribute represent
<b>Kafka topic</b> name where all the Liferay logs will be sending.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">All Liferay Portal cluster logs are following to Kafka
on same topic so It is required to differentiate logs by Liferay Node name so <b>"${sys:liferay.node}”
</b>configuration will be the Liferay Node name, which is configured as <b>system
property</b>. We need to included node system property as part of <b>log pattern</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Use below configuration in “<b>portal-log4j-ext.xml</b>”
which included Liferay log4j and Kafka Appender configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><?xml
version="1.0"?><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Configuration
strict="true"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span><Appenders><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><Appender
name="CONSOLE" type="Console"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><Layout
pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%t][%c{1}:%L] %m%n"
type="PatternLayout" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span></Appender><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><Appender
filePattern="@liferay.home@/logs/liferay.%d{yyyy-MM-dd}.log"
ignoreExceptions="false" name="TEXT_FILE"
type="RollingFile"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><Layout
pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %-5p [%t][%c{1}:%L] %m%n"
type="PatternLayout" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><TimeBasedTriggeringPolicy
/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><DirectWriteRolloverStrategy
/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span></Appender><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><Appender
filePattern="@liferay.home@/logs/liferay.%d{yyyy-MM-dd}.xml"
ignoreExceptions="false" name="XML_FILE"
type="RollingFile"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><Log4j1XmlLayout
locationInfo="true" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><TimeBasedTriggeringPolicy
/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><DirectWriteRolloverStrategy
/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span></Appender><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><b><Kafka
name="Kafka" topic="liferay-kafka-logs"><o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><PatternLayout
pattern="${sys:liferay.node} %d{yyyy-MM-dd HH:mm:ss.SSS} %-5p
[%t][%c{1}:%L] %m%n"/><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Property
name="bootstrap.servers">localhost:9092,localhost:9093,localhost:9094</Property><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span></Kafka></span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><b><Async
name="KafkaAsync"><o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><AppenderRef
ref="Kafka"/><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span></Async><o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Console name="stdout"
target="SYSTEM_OUT"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><PatternLayout
pattern="%d{HH:mm:ss.SSS} %-5p [%-7t] %F:%L - %m%n"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span></Console><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span></Appenders><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span><Loggers><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span><Root
level="INFO"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><b><AppenderRef
ref="KafkaAsync"/><o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><AppenderRef
ref="CONSOLE" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><AppenderRef
ref="TEXT_FILE" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 3;"> </span><AppenderRef
ref="XML_FILE" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 2;"> </span></Root><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-tab-count: 1;"> </span></Loggers><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"></Configuration><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Original configuration available in “<b>tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.jar
META-INF/portal-log4j.xml</b>”. We took required configuration and updated in “<b>portal-log4j-ext.xml</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://github.com/liferay/liferay-portal/blob/7.4.x/portal-impl/src/META-INF/portal-log4j.xml" target="_blank">https://github.com/liferay/liferay-portal/blob/7.4.x/portal-impl/src/META-INF/portal-log4j.xml</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add required JAR’s<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Implementation is required few jars files which should
be added in tomcat global class path.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">The following are required jars <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-clients-2.8.0.jar,<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">slf4j-api.jar,<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-log4j-appender-2.8.0.jar<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">kafka-clients-2.8.0.jar</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> have
all Kafka API to interact with Kafka brokers like Producers and Consumers.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">kafka-clients-2.8.0.jar</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
is available in <b>Kafka server lib</b> directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqHvST1u8rwpVMuNU00ljV0V8TWYd-EKL9aYmQin89uTTsU7vAq123DBra3nkoo5qO4f1PHJQeAbawqYGowgVcEwmIfBLNzHxEuMJmK_5AVWeTaLpKlpUoOzWf04IRNbrGoE72_Q7nVSzC/s1102/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="526" data-original-width="1102" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqHvST1u8rwpVMuNU00ljV0V8TWYd-EKL9aYmQin89uTTsU7vAq123DBra3nkoo5qO4f1PHJQeAbawqYGowgVcEwmIfBLNzHxEuMJmK_5AVWeTaLpKlpUoOzWf04IRNbrGoE72_Q7nVSzC/w640-h306/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Copy same jar from Kafka server lib to <b>tomcat lib</b>
directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8OLG75flWcJSEemvjHJnPe_HY0p1dLeDymDP_ZRyNne3zewDVErhZb8uu9nLXzaulzIhlIVAqU3VzLe5wM6w3_q3sg80ZEycCyOcqxR57Pm_DTUyP2UjUFSMAhCf1_Q2esFcSTAmhb8lh/s1109/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="522" data-original-width="1109" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8OLG75flWcJSEemvjHJnPe_HY0p1dLeDymDP_ZRyNne3zewDVErhZb8uu9nLXzaulzIhlIVAqU3VzLe5wM6w3_q3sg80ZEycCyOcqxR57Pm_DTUyP2UjUFSMAhCf1_Q2esFcSTAmhb8lh/w640-h302/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">kafka-log4j-appender-2.8.0.jar</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> have
log4j Appender implementation and its internally using “<b>kafka-clients</b>”.
It had Kafka producers to send logs to Kafka topic.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download “<b>kafka-log4j-appender</b>” from maven
central repository and add it in <b>tomcat lib</b> directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://repo1.maven.org/maven2/org/apache/kafka/kafka-log4j-appender/2.8.0/kafka-log4j-appender-2.8.0.jar">https://repo1.maven.org/maven2/org/apache/kafka/kafka-log4j-appender/2.8.0/kafka-log4j-appender-2.8.0.jar</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioYSSSei3BwB-Ct_2Ey6Kb645E64bCgeDuNcGCKuw1miHjXDk4y04FMPlPz78AHkX_3rXSBbqQY_PH50ZlT0VZVXDnsbWPMb1LBA7w6dVAnkRSfn8PLMsGcmC6AVJsIVN7l9Ede8QIiyVC/s960/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="431" data-original-width="960" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioYSSSei3BwB-Ct_2Ey6Kb645E64bCgeDuNcGCKuw1miHjXDk4y04FMPlPz78AHkX_3rXSBbqQY_PH50ZlT0VZVXDnsbWPMb1LBA7w6dVAnkRSfn8PLMsGcmC6AVJsIVN7l9Ede8QIiyVC/w640-h288/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">slf4j-api.jar</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
required by <b>Kafka Appender</b> so it should be available in portal tomcat lib
directory.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">slf4j-api.jar is available
in Liferay Portal <b>ROOT/WEB-INF/lib</b> directory. Copy/Move <b>slf4j-api.jar</b>
file to <b>tomcat global lib</b> directory.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWNXpfMCpCdeF1qSgENB7ZEJ4GFlGGaTWy8Xu3nsR0bREIjaKO58xH6hGnbfpXq_NfWrZkp2QMw8EepkyiAfPeCoq7YdEVuonF5o_-ybOksuk6I_5xfKfioGFJ9E18CM2PsK13lvEuq3G8/s1018/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="626" data-original-width="1018" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWNXpfMCpCdeF1qSgENB7ZEJ4GFlGGaTWy8Xu3nsR0bREIjaKO58xH6hGnbfpXq_NfWrZkp2QMw8EepkyiAfPeCoq7YdEVuonF5o_-ybOksuk6I_5xfKfioGFJ9E18CM2PsK13lvEuq3G8/w640-h394/7.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note:<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Above all configuration should be updated
in each Liferay Node in the cluster.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add Liferay Node system property<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need to add Liferay Node
system property in Liferay tomcat <b>setenv.bat</b> file<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node1<o:p></o:p></span></u></i></b></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to <b>Liferay Node1</b>
tomcat bin directory and open setenv.bat file in editor and new Liferay node
system variable to existing list.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">-Dliferay.node=Liferay-Node1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
"CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF-8
-Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true
-Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m
-XX:MaxMetaspaceSize=768m -XX:MetaspaceSize=768m -XX:NewSize=1536m
-XX:SurvivorRatio=7 <b>-Dliferay.node=Liferay-Node1</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzGVOKLb9ci1jNZ_wVMcziaMZuUULEoiGm4VWCUZVTafIIgZwrPun0QKsc4lJBEbv9v5TmifrBNzVkG8mDYqqkMxU33QsTPe7boxR30uyq-42zUE0ljZxQO1Nrb6ZpFV70UwJJxF03kDJ/s1621/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="692" data-original-width="1621" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIzGVOKLb9ci1jNZ_wVMcziaMZuUULEoiGm4VWCUZVTafIIgZwrPun0QKsc4lJBEbv9v5TmifrBNzVkG8mDYqqkMxU33QsTPe7boxR30uyq-42zUE0ljZxQO1Nrb6ZpFV70UwJJxF03kDJ/w640-h274/8.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node2<o:p></o:p></span></u></i></b></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to <b>Liferay Node2</b>
tomcat bin directory and open setenv.bat file in editor and new Liferay node
system variable to existing list.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">-Dliferay.node=Liferay-Node2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">set
"CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF-8
-Djava.locale.providers=JRE,COMPAT,CLDR -Djava.net.preferIPv4Stack=true
-Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxNewSize=1536m
-XX:MaxMetaspaceSize=768m -XX:MetaspaceSize=768m -XX:NewSize=1536m
-XX:SurvivorRatio=7 <b>-Dliferay.node=Liferay-Node2</b>"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in; tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9Jr79iREfoUACeQWMUnEiLoh2bdY7M6RUeJ5Su0UeFCyePciMicRL9w98zoFm0CzeBS4lwyKqxIVbZ0PLLJcDZM8wlEVNVbdltzBWS1wYZ1SCxAnHafKA4ZHpqoFIYnJyySWStb_Ud8lG/s1651/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="632" data-original-width="1651" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9Jr79iREfoUACeQWMUnEiLoh2bdY7M6RUeJ5Su0UeFCyePciMicRL9w98zoFm0CzeBS4lwyKqxIVbZ0PLLJcDZM8wlEVNVbdltzBWS1wYZ1SCxAnHafKA4ZHpqoFIYnJyySWStb_Ud8lG/w640-h244/9.JPG" width="640" /></a></div><br /><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><u>Start Kafka Cluster</u><o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We already setup Kafka cluster
and follow the same article to start Kafka Cluster<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html" target="_blank">http://www.liferaysavvy.com/2021/07/setup-kafka-cluster.html</a><o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Topic<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to one of the Kafka broker
bin windows directory. Use following create topic command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Topic: <b>liferay-kafka-logs<o:p></o:p></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><br /></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Same topic we have configured in the Kafka appended
log4j configuration.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--<b>create</b> --zookeeper <b>localhost:2181,localhost:2182,localhost:2183</b>
--replication-factor <b>3</b> --partitions <b>3</b> --topic <b>liferay-kafka-logs</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We should pass all zookeeper cluster nodes in the
options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Make sure topic is created by using list command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--zookeeper localhost:2181,localhost:2182,localhost:2183 –list<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi02GleZ5YY-EFjCcXYmV6ffhT1K0BeACq5wneHbZC07OXgzkuN2thur0WKKZVZKh6x4cGJSQdA8c_5zOw_g0O8pnNaRVsXemwkkbb_NOOe0Sc274rV4bQ3haXG04g2RWzBH0nJOX-OJxzX/s1805/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="170" data-original-width="1805" height="60" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi02GleZ5YY-EFjCcXYmV6ffhT1K0BeACq5wneHbZC07OXgzkuN2thur0WKKZVZKh6x4cGJSQdA8c_5zOw_g0O8pnNaRVsXemwkkbb_NOOe0Sc274rV4bQ3haXG04g2RWzBH0nJOX-OJxzX/w640-h60/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka consumer<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following consumer command to start consumer. We have to start consumer
for “<b>liferay-kafka-logs</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-console-consumer.bat
--bootstrap-server <b>localhost:9092,localhost:9093,localhost:9094</b>
--topic <b>liferay-kafka-logs</b> --from-beginning <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJur8JLIKHoBv-g10UnK8DrVv7xzboZcdB3GPK9hCxlkTJ6D3IS1m1eImREj0u34S4gB3bjGncqQbpvXXM9k_AIpy7-WVksgCVcPeG8LoSvr8VjMYKfIwZbqrJr-NYD4fapdkTOkmXqfn/s1879/11.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="144" data-original-width="1879" height="50" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJur8JLIKHoBv-g10UnK8DrVv7xzboZcdB3GPK9hCxlkTJ6D3IS1m1eImREj0u34S4gB3bjGncqQbpvXXM9k_AIpy7-WVksgCVcPeG8LoSvr8VjMYKfIwZbqrJr-NYD4fapdkTOkmXqfn/w640-h50/11.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Liferay Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now start Each Liferay node
in the cluster. We already setup the Liferay cluster and follow the same
article to start Liferay Nodes.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html" target="_blank">http://www.liferaysavvy.com/2021/07/liferay-portal-apache-webserver.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">View Liferay Cluster logs in Kafka Consumer<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Observe the <b>Kafka consumer console window</b> which
is flowing with Liferay both nodes’ logs. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">These logs will be differentiated by <b>Liferay Node
names</b> in the cluster that we already configured as system property and same
used as part <b>Kafka Appender</b> configuration. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPfyh-4QSzQTaumLrgWn62er_ylpfSu8CQgZK93iR94rOkKMNj5bQD8vHDKLTKvxnX5lIWLgjg1A5nkxVnHZNefF-joODt3PiXa42-B2J8nxbbQW7dzYoOmYhKlbs7dz9jS2a9JG0Jqzww/s1901/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1035" data-original-width="1901" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPfyh-4QSzQTaumLrgWn62er_ylpfSu8CQgZK93iR94rOkKMNj5bQD8vHDKLTKvxnX5lIWLgjg1A5nkxVnHZNefF-joODt3PiXa42-B2J8nxbbQW7dzYoOmYhKlbs7dz9jS2a9JG0Jqzww/w640-h348/12.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It confirms that successfully
implemented centralized logging system with Kafka Log4J Appender.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Advantages<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This implementation will
avoid to store logs in each server such way a logs management will become very
easy and all logs available in central location. <o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This will resolve storage
issues in the serves.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Integrate<b> Splunk</b>
or <b>Kibana</b> Web UI connect to Kafka to monitor applications in efficient
manner.<o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><br /></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Notes<o:p></o:p></span></u></b></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Demonstration purpose we implemented
all the clusters in single machine. Real production has multiple servers to
manage <b>Kafka and Liferay</b> clusters.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Due to single machine, we
might have to <b>change port numbers</b> for Liferay and Kafka cluster but
production environment that is not necessary.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Demonstration purpose we
have used <b>Kafka consumer</b> to show logs but real-world environment we have
to use Web UI tools to monitor logs like <b>Splunk</b> or <b>Kibana</b>.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have not changed existing
<b>Liferay portal Appender</b>s so logs will be stored in each node logs directory
in files. To avoid duplicate storage of logs, we can remove other Appender so
that logs will not be stored in local logs directory.<o:p></o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u>References</u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><br /></u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://logging.apache.org/log4j/2.x/manual/appenders.html" target="_blank">https://logging.apache.org/log4j/2.x/manual/appenders.html</a><o:p></o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="tab-stops: 97.8pt;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com0tag:blogger.com,1999:blog-4305105234376370815.post-12959795545768618592021-07-10T00:37:00.004+05:302021-07-10T00:37:41.439+05:30Enable Metrics Provider in Zookeeper<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Zookeeper provided “</span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">metrics provider”</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> such a way
user can monitor zookeeper. Prometheus is one of the monitoring services can be
used to monitor zookeeper.</span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">The following are the steps to enable metrics provider in Zookeeper.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman", serif; font-size: 18.6667px;">Configure Metrics provider in Zookeeper configuration.</span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman", serif; font-size: 14pt; line-height: 107%;">Install “Prometheus” service<o:p></o:p></span></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Software’s and Tools <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">Zookeeper 3.7.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">prometheus-2.28.1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Setup a Zookeeper cluster<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Metrics provider in Zookeeper
configuration</span></u></b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open “<b>zoo.cfg</b>” file and update with metric provider
configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Zookeeper Node1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">## Metrics
Providers<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">#
https://prometheus.io Metrics Exporter<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.httpPort=<b>7001</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.exportJvmInfo=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Zookeeper Node2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">## Metrics
Providers<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">#
https://prometheus.io Metrics Exporter<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.httpPort=<b>7002</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.exportJvmInfo=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Zookeeper Node3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">## Metrics
Providers<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">#
https://prometheus.io Metrics Exporter<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.httpPort=<b>7003</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">metricsProvider.exportJvmInfo=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start all Zookeeper server and make sure all are
starting successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Install “Prometheus” service<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Prometheus download page and download latest
version.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://prometheus.io/download/" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://prometheus.io/download/</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Direct Links as follows<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.windows-amd64.zip</span></a><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Extract in local Drive<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD-xOaVnorEXcDWaaGrAZkiezTEx0GJ6Kf1JwJNilEr_6ZoXTrl9t8WkPFkWPh1GXx6EWR6RBFMMdL_YPCpx7SfbsUpw_cD1z3f6NMzGk6qJRm0GUwLrIZgJintdy7pDPhfeYX3Cb4GsOr/s938/1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="938" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD-xOaVnorEXcDWaaGrAZkiezTEx0GJ6Kf1JwJNilEr_6ZoXTrl9t8WkPFkWPh1GXx6EWR6RBFMMdL_YPCpx7SfbsUpw_cD1z3f6NMzGk6qJRm0GUwLrIZgJintdy7pDPhfeYX3Cb4GsOr/w640-h304/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Configure Zookeeper cluster in Prometheus<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Create “<b>metrics-zk.yaml</b>” file in root directory
of “Prometheus” and set Prometheus's scraper to target the <b>Zookeeper</b>
cluster endpoints. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Add following configuration in “<b>metrics-zk.yaml</b>”
file and make sure target property should have zookeeper cluster hosts with
metrics port that enabled in “<b>zoo.cfg</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># my global
config<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">global:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>scrape_interval:<span style="mso-spacerun: yes;"> </span>15s # Set the scrape interval to every
15 seconds. Default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>evaluation_interval: 15s # Evaluate rules
every 15 seconds. The default is every 1 minute.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># scrape_timeout is set to the global
default (10s).<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Alertmanager
configuration<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">alerting:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>alertmanagers:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - alertmanager:9093<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Load rules
once and periodically evaluate them according to the global
'evaluation_interval'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">rule_files:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - "first_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># - "second_rules.yml"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># A scrape
configuration containing exactly one endpoint to scrape:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"># Here it's
Prometheus itself.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">scrape_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># The job name is added as a label
`job=<job_name>` to any timeseries scraped from this config.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- job_name: <b>'zookeepermetrics'</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>#metrics_path: '/zookeeper-metrics'<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span># scheme defaults to 'http'.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>static_configs:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><span style="mso-spacerun: yes;"> </span>- targets: [<b>'localhost:7001','localhost:7002','localhost:7003'</b>]<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmrKjcaDGhlnAewlL2zu8llLWNBqNeLj2-batB7wELFpjjdAfJpXxJWp2O_-7iOvoLo_fCZeFFGSd-xG2902GCLuiW4Ju6eEyO_YQEWtru_OJ77S0cEPNCMLy_TNsYd5M6nGCwnRIgjdF_/s1581/2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="824" data-original-width="1581" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmrKjcaDGhlnAewlL2zu8llLWNBqNeLj2-batB7wELFpjjdAfJpXxJWp2O_-7iOvoLo_fCZeFFGSd-xG2902GCLuiW4Ju6eEyO_YQEWtru_OJ77S0cEPNCMLy_TNsYd5M6nGCwnRIgjdF_/w640-h334/2.JPG" width="640" /></a></div><br /><o:p><br /></o:p><p></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Start “Prometheus”<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Open command prompt and locate to “Prometheus” root
directory. Use following start command and pass <b>web listen address</b> and <b>config
file</b> as options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;">prometheus.exe
--config.file metrics-zk.yaml --web.listen-address ":9090"
--storage.tsdb.path "metrics-zk.data"<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 14pt;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsFKDmiJlD4uRXzcSQI1ryEPbC7zV2CBHaCBnY8bl-xTUCV7-kCRzEZ1msSMuO9CmpvM_slGtFAWUHGpnuMKK6ic9WdqFm-lw5nliqLki4KYJii-O1MZUdxCoO4YNHGNCE2NM7f-TkSQJe/s1709/3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="46" data-original-width="1709" height="18" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsFKDmiJlD4uRXzcSQI1ryEPbC7zV2CBHaCBnY8bl-xTUCV7-kCRzEZ1msSMuO9CmpvM_slGtFAWUHGpnuMKK6ic9WdqFm-lw5nliqLki4KYJii-O1MZUdxCoO4YNHGNCE2NM7f-TkSQJe/w640-h18/3.JPG" width="640" /></a></div><br /> <p></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Verify Installation<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Access “<b><i>Prometheus</i></b>” web interface with
following URL and its running on <b>9090</b> port.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:9090/" target="_blank">http://localhost:9090/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio2ma6e9qYeTltNbgomh2QSDafx1-Dd1rfD7E3YOsxK1ESrW9u621Q9_2sYrfKb9-P1dXNg6DjdG6ZlfNLhEzlW7B9UY5e-HGohLYZoGDXSoAueFqH8WjDwOcBNLCkRxnEbpSTh0zy6fOL/s1677/5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="732" data-original-width="1677" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio2ma6e9qYeTltNbgomh2QSDafx1-Dd1rfD7E3YOsxK1ESrW9u621Q9_2sYrfKb9-P1dXNg6DjdG6ZlfNLhEzlW7B9UY5e-HGohLYZoGDXSoAueFqH8WjDwOcBNLCkRxnEbpSTh0zy6fOL/w640-h280/5.JPG" width="640" /></a></div><br /><p></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Targets Status<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Go to Status menu and click on targets so we can see Zookeeper
cluster health for each node.<o:p></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7i9CDRFpQjvgbgKVmOopN_Fm5IOcinTzG1IpPkQYHonK7mMVsPPIRpOi5qQ6YeXI0S6QPzngJWMud7vCR-Ny8JbxHE2wit9Ta6NRMH718SjBw7CzfUurwOY3jTgT-93xPB6ixAVfBSk9k/s1356/6.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1356" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7i9CDRFpQjvgbgKVmOopN_Fm5IOcinTzG1IpPkQYHonK7mMVsPPIRpOi5qQ6YeXI0S6QPzngJWMud7vCR-Ny8JbxHE2wit9Ta6NRMH718SjBw7CzfUurwOY3jTgT-93xPB6ixAVfBSk9k/w640-h316/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Zookeeper node’s health in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><a href="http://localhost:9090/targets" target="_blank">http://localhost:9090/targets</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><o:p> </o:p></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWg1ig8BHIe-6HxwRgW5E4y7qANBRsa_YT7RIPEfFlwIE3V5V-ULaZjeU_hdhO-0JnoEfnK0czW06ooyo1KWZlKc0fW8QWDnq1EbpkPnFv7WZgkMxgjGPJY8Du3s2a8-21J7CT0PrEA-5d/s1570/7.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="769" data-original-width="1570" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWg1ig8BHIe-6HxwRgW5E4y7qANBRsa_YT7RIPEfFlwIE3V5V-ULaZjeU_hdhO-0JnoEfnK0czW06ooyo1KWZlKc0fW8QWDnq1EbpkPnFv7WZgkMxgjGPJY8Du3s2a8-21J7CT0PrEA-5d/w640-h314/7.JPG" width="640" /></a></div><br /><p></p><p class="MsoNormal"><span style="mso-no-proof: yes;"><br /></span></p><p class="MsoNormal"></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">Reference<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;"><a href="https://github.com/apache/zookeeper/blob/master/zookeeper-docs/src/main/resources/markdown/zookeeperMonitor.md" target="_blank">https://github.com/apache/zookeeper/blob/master/zookeeper-docs/src/main/resources/markdown/zookeeperMonitor.md</a><o:p></o:p></span></p><span style="mso-no-proof: yes;"></span><p></p><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div><br /></div><div><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-3859776254238181152021-07-09T02:49:00.006+05:302021-07-09T02:56:28.190+05:30Enable Admin Server in Zookeeper<p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Admin Server</span></u></b></p><p><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper is proving embedded jetty container to provide
HTTP interface to execute commands. From Zookeeper 3.5.0 onwards HTTP interface
is available. We need to enabled the Admin server from zookeeper configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper is providing set of <b>4 letters commands</b>
to manage and see the information of the servers and these commands can be executed
from telenet. The same commands we can also execute via HTTP interface when we
enabled Admin server in Zookeeper.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Commands<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">conf<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Print details about serving configuration.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">cons<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
List full connection/session details for all clients connected to this
server. Includes information on numbers of packets received/sent, session id,
operation latencies, last operation performed, etc…<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">crst<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Reset connection/session statistics for all connections.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dump<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Lists the
outstanding sessions and ephemeral nodes. This only works on the leader.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">envi<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Print details
about serving environment<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">ruok<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Tests if server
is running in a non-error state. The server will respond with imok if it is
running. Otherwise, it will not respond at all.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">A response of
"imok" does not necessarily indicate that the server has joined the
quorum, just that the server process is active and bound to the specified
client port. Use "stat" for details on state wrt quorum and client
connection information.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">srs</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">t<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Reset server
statistics.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">srvr<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Lists full details for the server.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">stat<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Lists brief
details for the server and connected clients.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">wchs<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Lists brief information on watches for the server.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">wchc<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Lists detailed information on watches for the server, by session. This
outputs a list of sessions(connections) with associated watches (paths).
Note, depending on the number of watches this operation may be expensive (ie
impact server performance), use it carefully.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">wchp<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.3.0:
Lists detailed information on watches for the server, by path. This outputs a
list of paths (znodes) with associated sessions. Note, depending on the
number of watches this operation may be expensive (ie impact server
performance), use it carefully.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">mntr<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">New in 3.4.0:
Outputs a list of variables that could be used for monitoring the health of
the cluster.<o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Setup a Zookeeper cluster</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html" target="_blank">http://www.liferaysavvy.com/2021/07/setup-zookeeper-cluster.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Admin Server<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to update following properties in “<b>zoo.cfg</b>”
for each node in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node 1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.enableServer=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.serverPort=9191<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node 2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.enableServer=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.serverPort=9292<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node 3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.enableServer=true<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">admin.serverPort=9393<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Restart All zookeeper nodes in the cluster and access following
URLs to see the commands interface.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node 1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9191/commands">http://localhost:9191/commands</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfIP8ATn-G3JkV-Glpz-ujp9gEl1lzoda7uToGnGCb7acPQa597AsJyhGvfl2RhT6AgfTDS3HvsabXNv46bhQaCq4eBHTtO7DzIKYrDTwA1eQVW9K9uQWSIwbUOKYWAnI38imexHU6p4xe/s885/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="727" data-original-width="885" height="526" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfIP8ATn-G3JkV-Glpz-ujp9gEl1lzoda7uToGnGCb7acPQa597AsJyhGvfl2RhT6AgfTDS3HvsabXNv46bhQaCq4eBHTtO7DzIKYrDTwA1eQVW9K9uQWSIwbUOKYWAnI38imexHU6p4xe/w640-h526/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Click on each hyper link to execute command and we can
see JSON response.<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Examples<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">To see the leader in the cluster<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost:9191/commands/leader" target="_blank">http://localhost:9191/commands/leader</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiofFc69qlSBxMqRHQEuUlOViJfUIUNTN7N4v2Ke-oip0pogJ9_z5BwxvDaUzBlWJBMb8fvEkH2MJ_7GY0nV8OvAIVRd-qp-Vg4hpPcR6RqxPYgxT2YpoBeQK-aU_MhbzbthvNTZD1gT3_i/s915/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="392" data-original-width="915" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiofFc69qlSBxMqRHQEuUlOViJfUIUNTN7N4v2Ke-oip0pogJ9_z5BwxvDaUzBlWJBMb8fvEkH2MJ_7GY0nV8OvAIVRd-qp-Vg4hpPcR6RqxPYgxT2YpoBeQK-aU_MhbzbthvNTZD1gT3_i/w640-h274/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Stats of the server<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost:9191/commands/stats" target="_blank">http://localhost:9191/commands/stats</a><o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8biGl3RBUMNOWChWtYz01_pNfjIGC9LA4NXIoensC-bsqL0xSdJmxV61mA5UyAy0H-cnghA4wQgIbrYEGOPwEv0f_JCvKa2kJ_72S9J1WvYZVVCR3FzFgNmN3D1SscAwf-3AOYVa0Rfms/s1042/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="885" data-original-width="1042" height="544" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8biGl3RBUMNOWChWtYz01_pNfjIGC9LA4NXIoensC-bsqL0xSdJmxV61mA5UyAy0H-cnghA4wQgIbrYEGOPwEv0f_JCvKa2kJ_72S9J1WvYZVVCR3FzFgNmN3D1SscAwf-3AOYVa0Rfms/w640-h544/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Similarly, you can access server HTTP interface for
other nodes from following URL’s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><i><u>Zookeeper Node2</u></i></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9292/commands">http://localhost:9292/commands</a><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><br /></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><i><u>Zookeeper Node3</u></i></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><a href="http://localhost:9393/commands" target="_blank">http://localhost:9393/commands</a><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">References<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://zookeeper.apache.org/doc/r3.5.1-alpha/zookeeperAdmin.html" target="_blank">https://zookeeper.apache.org/doc/r3.5.1-alpha/zookeeperAdmin.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2tag:blogger.com,1999:blog-4305105234376370815.post-11487694059600754402021-07-08T05:45:00.008+05:302021-07-08T05:58:13.463+05:30Setup a Zookeeper Cluster<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Apache Zookeeper is distributed coordination service
to build distributed applications. Kafka uses the Zookeeper to manage cluster.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka is included with Zookeeper and we can start as
service however we can also install standalone zookeeper. This article
demonstrates the setting up zookeeper cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Latest <b>Zookeeper</b> is required minimum <b>JAVA
version 1.8</b> and above (<b>JAVA_HOME</b> environment variable need setup in
the system)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need <b>7zip software</b> to extract <b>.tgz</b> files
in windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software's and Tools<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper 3.7.0<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download latest zookeeper binary tar.gz from following
apache zookeeper download page.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://zookeeper.apache.org/releases.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://zookeeper.apache.org/releases.html</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct link as follow<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract downloaded “apache-zookeeper-3.7.0-bin.tar.gz”
using 7z software in local drive. We are going to setup 3 node cluster so clone
extracted directory 2 more times.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy5iGYw6CzKhGYs4DGNTOINS1o36qA8SpCvregTZh-iehVNTyHbPuf8mOCy7i7pC2edUUPpuLIYDc-TM505MKz4VQ5UIByq89iSf1lvz5eV1QcyN67kTq5dGLsixoCZZDPWzhDZ583W9q4/s1454/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="188" data-original-width="1454" height="82" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy5iGYw6CzKhGYs4DGNTOINS1o36qA8SpCvregTZh-iehVNTyHbPuf8mOCy7i7pC2edUUPpuLIYDc-TM505MKz4VQ5UIByq89iSf1lvz5eV1QcyN67kTq5dGLsixoCZZDPWzhDZ583W9q4/w640-h82/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Name the directories as follows<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper-node1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper-node2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper-node3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmovi7xIZRd2P1cQwY5DntoPiCJJXumEjLdqSQPBbSo6dRUebD7AaCzodZrunSonrxnDhn7JvspfFmNOv2tJdCmsNf6mt1xILtR-_XjC_dBZngwVSPBmA0AqieXPi_iP2h1YcxkjG0dD1p/s1231/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="518" data-original-width="1231" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmovi7xIZRd2P1cQwY5DntoPiCJJXumEjLdqSQPBbSo6dRUebD7AaCzodZrunSonrxnDhn7JvspfFmNOv2tJdCmsNf6mt1xILtR-_XjC_dBZngwVSPBmA0AqieXPi_iP2h1YcxkjG0dD1p/w640-h270/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node1<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Step:1 <o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Data Directory<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create data directory in “<b>zookeeper-node1</b>” and
we will use this directory path in zookeeper configuration.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example: <o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">C:\\kafka-workspace\\zookeeper-node1\\data<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg3AGGenxNSOsZx_q_gVqp55mHtCWhGTca2uWr8dk3AxgIr010fwzfOTx-RGkziPMJ7dH9G4KO_4JM9BLTRz5lRJkfu3QTrwbfZE0XOc2ktVSH150EclSYMtFcOmLzdruHkxPXA0cG4zUm/s989/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="328" data-original-width="989" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg3AGGenxNSOsZx_q_gVqp55mHtCWhGTca2uWr8dk3AxgIr010fwzfOTx-RGkziPMJ7dH9G4KO_4JM9BLTRz5lRJkfu3QTrwbfZE0XOc2ktVSH150EclSYMtFcOmLzdruHkxPXA0cG4zUm/w640-h212/4.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Step:2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create “myid” file<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to create “<b>myid</b>” file in data directory
and update file name with node number that is “<b>1</b>”. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pQgTr2SF8tu4YDFZOc-3uZZrQc9-E7VRq09ZLWjDxOqO2z1Us6FNEwDFc077_jWf6MTUORQuwN9n9igMcIMvIKq0Uxt90HcM2KCzA3KXsTf-jKS_7ToVpXYKz5nefeDjfhs2wYbebdhJ/s1061/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="760" data-original-width="1061" height="458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pQgTr2SF8tu4YDFZOc-3uZZrQc9-E7VRq09ZLWjDxOqO2z1Us6FNEwDFc077_jWf6MTUORQuwN9n9igMcIMvIKq0Uxt90HcM2KCzA3KXsTf-jKS_7ToVpXYKz5nefeDjfhs2wYbebdhJ/w640-h458/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Step:3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Configuration<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now have to update few zookeeper configuration
properties. Go to zookeeper-node1 directory and rename “<b>zoo_sample.cfg</b>”
to “<b>zoo.cfg</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDKq-eXg5BRbJtL1LvQZqkP2SCgMZcVJi1886aB4Lft9lf6UHpuO8xICMvQGbZQSXaWxbJ3QJEzSmzj73L25-5vnYtEwoN8cRT8CCFfkxWu61ps4T33wfJ89qFvWM_9HLcuXm0BI0bv9D0/s954/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="301" data-original-width="954" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDKq-eXg5BRbJtL1LvQZqkP2SCgMZcVJi1886aB4Lft9lf6UHpuO8xICMvQGbZQSXaWxbJ3QJEzSmzj73L25-5vnYtEwoN8cRT8CCFfkxWu61ps4T33wfJ89qFvWM_9HLcuXm0BI0bv9D0/w640-h202/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add/Update “<b>zoo.cfg</b>” file with following
properties.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=2181<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\zookeeper-node1\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.snapRetainCount=3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.purgeInterval=24<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.1=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.2=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.3=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=10<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=5<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<myid>=<hostname>:<<b>leaderport</b>>:<<b>electionport</b>><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are setting up <b>3</b> node cluster so we have to configure
<b>server.[myid]</b> property which have host name, leader and elector ports. Zookeeper
use this information to form cluster. <o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note:<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">we are using same machine to setup cluster so we have
to make sure there is no port conflicts. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2 & Zookeeper Node2<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Repeat Zookeeper Node1 Steps <b>1,2 and 3</b> for
Zookeeper <b>Node2</b> and <b>Node3</b> and maintain unique port numbers.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">myid</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> file content is “<b>2</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add/Update “<b>zoo.cfg</b>” file with following
properties.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=2182<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\zookeeper-node1\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.snapRetainCount=3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.purgeInterval=24<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.1=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.2=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.3=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=10<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=5<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">myid</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"> file content is “<b>3</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add/Update “<b>zoo.cfg</b>” file with following properties.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=2183<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\zookeeper-node1\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.snapRetainCount=3<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">autopurge.purgeInterval=24<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.1=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.2=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.3=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=10<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=5<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Zookeeper Node 1,2 and 3<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to “<b>zookeeper-node1</b>”
bin directory and use following command to start zookeeper server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zkServer.cmd<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDItGy-CEX7jHMRwwmVOSz5pus_n08sdot02MPADMLlQwXm0Jc15RH1MFBShCmW_ShE10BGMssxu2sDuxKSSHyz-oXjYX0GI1_MHbrbtgVXgtQ0myaet_2zxV7bfZ4LBQj_ECSvgarQY5/s1106/zkcommand.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="255" data-original-width="1106" height="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwDItGy-CEX7jHMRwwmVOSz5pus_n08sdot02MPADMLlQwXm0Jc15RH1MFBShCmW_ShE10BGMssxu2sDuxKSSHyz-oXjYX0GI1_MHbrbtgVXgtQ0myaet_2zxV7bfZ4LBQj_ECSvgarQY5/w640-h148/zkcommand.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper console logs will give us the more details
on server startup.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMT53wd1IUjdn49XGffZ4JqrpLIj36nIUihk6pQZA34Nds82QKz2o_AkNM4EdKU0DQ9EdEP5rZfniVF4pXXEmiYdL9l1uYvs9CAKgy3DwByc8gU6ty0ewy4awabrIl64s1BamQbuDuQwl6/s1102/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="650" data-original-width="1102" height="378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMT53wd1IUjdn49XGffZ4JqrpLIj36nIUihk6pQZA34Nds82QKz2o_AkNM4EdKU0DQ9EdEP5rZfniVF4pXXEmiYdL9l1uYvs9CAKgy3DwByc8gU6ty0ewy4awabrIl64s1BamQbuDuQwl6/w640-h378/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note: <o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">You may see “<b><i>java.net.ConnectException:
Connection refused: connect</i></b>” warning and its due to other nodes are not
yet started.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to “<b>zookeeper-node2</b>”
bin directory and use following command to start zookeeper server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zkServer.cmd<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to “<b>zookeeper-node3</b>”
bin directory and use following command to start zookeeper server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zkServer.cmd<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">In the cluster only one node will be leader and other all
nodes are followers. Leader and follower’s information can be view in the logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node1( Leader)<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggQk7RpL1-nOWJ8_gx0ph5PJKg37N4_B9v79z1ryeGHfFDFMcNkJh9hPHD5Wfg5oTxUb1zcYuVKWp66Dq8l7guaQpwkKrnhplb2Wjd15t0R33mB_2sP15VPIc5aYO5me3EymbeELbvwz75/s1915/leader1.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1004" data-original-width="1915" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggQk7RpL1-nOWJ8_gx0ph5PJKg37N4_B9v79z1ryeGHfFDFMcNkJh9hPHD5Wfg5oTxUb1zcYuVKWp66Dq8l7guaQpwkKrnhplb2Wjd15t0R33mB_2sP15VPIc5aYO5me3EymbeELbvwz75/w640-h336/leader1.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node2 (Follower)<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvekcVX_CHtjvVAi_OI3He4NeNs43wP7FJYj81fWv0wUcA4XbQzagIQZczJbydQhb278KdivxLZJ9OWCRuqrqhJvJ-oJPB0wxHLZ6Brj2JkkQLbodC4qPvZgUu1vTwFq_cYOzgNW1dgbHZ/s1875/leader2.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1028" data-original-width="1875" height="350" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvekcVX_CHtjvVAi_OI3He4NeNs43wP7FJYj81fWv0wUcA4XbQzagIQZczJbydQhb278KdivxLZJ9OWCRuqrqhJvJ-oJPB0wxHLZ6Brj2JkkQLbodC4qPvZgUu1vTwFq_cYOzgNW1dgbHZ/w640-h350/leader2.png" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Node3 (Follower)<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg-NrJAOTa3ZY3c2_Lu5irsddXsAFe3H73Z07ThfuBjwI2dfF84JkzUytrxPjSDKQ_wJsxCCpAu6YO5ZH0X5IKhcp7t9RFPPaV8qROkw4WgBJj46F5L6fa8BvP2uqBSta2R4B9Ly6HsnhE/s1714/leader3.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1025" data-original-width="1714" height="382" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg-NrJAOTa3ZY3c2_Lu5irsddXsAFe3H73Z07ThfuBjwI2dfF84JkzUytrxPjSDKQ_wJsxCCpAu6YO5ZH0X5IKhcp7t9RFPPaV8qROkw4WgBJj46F5L6fa8BvP2uqBSta2R4B9Ly6HsnhE/w640-h382/leader3.png" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now successfully configured zookeeper cluster on
windows.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u>References</u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><br /></u></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://zookeeper.apache.org/doc/current/index.html" target="_blank">https://zookeeper.apache.org/doc/current/index.html</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com0tag:blogger.com,1999:blog-4305105234376370815.post-29893256643512953012021-07-06T06:32:00.003+05:302021-07-06T06:32:49.669+05:30Setup a Kafka Cluster<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Kafka is distributed event streaming software based on
</span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">publish and subscribe to</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> model. It’s very powerful streaming software
used by many organizations.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">More details find in the below link<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://kafka.apache.org/intro" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://kafka.apache.org/intro</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka is required minimum <b>JAVA version 1.8</b> and
above (JAVA_HOME environment variable need setup in the system)<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need <b>7zip software</b> to extract <b>.tgz</b> files
in windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software and Tools<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Kafka 2.8<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Java 1.8 or
higher<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Zookeeper 3.5.9
(Embedded in Kafka)<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Installation on windows<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
</span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/kafka-installation-on-windows.html" target="_blank">http://www.liferaysavvy.com/2021/07/kafka-installation-on-windows.html</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAMs-OpyghC0Lg7-UprcqPWIQjZbdJVVHiji3dWyL-I8m0rgwpEUX5j5cBnLDtlqP9-ElPINfGQ-olqPbHC52ScrMcHomf8769OZ9ZhWPNEGiNYiZF8CkbTmjkpMHADLNG5ghOVFCALcjf/s1226/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="1226" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAMs-OpyghC0Lg7-UprcqPWIQjZbdJVVHiji3dWyL-I8m0rgwpEUX5j5cBnLDtlqP9-ElPINfGQ-olqPbHC52ScrMcHomf8769OZ9ZhWPNEGiNYiZF8CkbTmjkpMHADLNG5ghOVFCALcjf/w640-h348/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example demonstrates with 3 Kafka brokers and 3
Zookeepers in the cluster. Kafka uses the Zookeeper to manage the Kafka cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Current example will replicate the cluster in single
windows machine so we may have to change the configurations like <b>ports</b>, in
real world cluster configuration, we will install one Kafka broker/zookeeper
per machine/server. Example cluster is depicting in the above diagram.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download latest Kafka software from below location.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://kafka.apache.org/downloads.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://kafka.apache.org/downloads.html</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct link is below<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.apache.org/dyn/closer.cgi?path=/kafka/2.8.0/kafka_2.13-2.8.0.tgz" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://www.apache.org/dyn/closer.cgi?path=/kafka/2.8.0/kafka_2.13-2.8.0.tgz</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract “<b>kafka_2.13-2.8.0.tgz</b>” in local drive and
clone the extracted directory 3 times and rename directories as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-broker1<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-broker2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-broker3<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPQ3KsIvCaogXPLtB1e1CrlVZO-el5vJ9l0UNbAZPkiasLM4whEYZtWo5bVrw2kynyiCEZ7JotzUXMCzObqKBGj0GbFDpjyi_nbHzRQPm8RCDlekfbepsBVERaRghp-LLU9FGxpiD5dRPP/s1003/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="371" data-original-width="1003" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPQ3KsIvCaogXPLtB1e1CrlVZO-el5vJ9l0UNbAZPkiasLM4whEYZtWo5bVrw2kynyiCEZ7JotzUXMCzObqKBGj0GbFDpjyi_nbHzRQPm8RCDlekfbepsBVERaRghp-LLU9FGxpiD5dRPP/w640-h236/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Cluster Configuration<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Cluster Configuration<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Latest version Kafka included with Zookeeper. We have
to configure the zookeeper cluster first.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node1<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to config directory of “<b>kafka-broker1</b>” and
update “<b>zookeeper.properties</b>” with following properties .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiST-8b79boQKaeuH868StbV3iME0V3B4q6UXjWEUW7yMqP9d8J9EPKeeGI2j_kWhDDU6bntPOgJcpDOzSKgvaYd1tOLeHOUHfh_EG5EryREr2MWmoXqk-15xAeDHNLg91mGSXydoxYV1DB/s877/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="877" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiST-8b79boQKaeuH868StbV3iME0V3B4q6UXjWEUW7yMqP9d8J9EPKeeGI2j_kWhDDU6bntPOgJcpDOzSKgvaYd1tOLeHOUHfh_EG5EryREr2MWmoXqk-15xAeDHNLg91mGSXydoxYV1DB/w640-h394/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Data Directory<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create zookeeper data directory and update same path
in zookeeper properties file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">C:\\kafka-workspace\\kafka-broker1\\zookeeper\\data<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper myid<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create “<b>myid</b>” file in zookeeper data directory
and provide the zookeeper id that is “<b>1</b>”. These ids should be unique for
each zookeeper instance in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNHoKeGMjorv8JKwweUFpSUIpBiIcYTgBQu-mpPllYXmxipStpyOd62O9PAFTo14EcbZFIG-ExTbhxHoKNe788iNOJZ3SCKESegxLD5JygOnDGxw6v1rzCgvEYeLgX2i9rfTTS9KCi3-ze/s1009/4JPG.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="205" data-original-width="1009" height="130" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNHoKeGMjorv8JKwweUFpSUIpBiIcYTgBQu-mpPllYXmxipStpyOd62O9PAFTo14EcbZFIG-ExTbhxHoKNe788iNOJZ3SCKESegxLD5JygOnDGxw6v1rzCgvEYeLgX2i9rfTTS9KCi3-ze/w640-h130/4JPG.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update “<b>dataDir</b>” to valid path that was crated
before. We are managing 3 nodes of zookeeper in the cluster so we need to
provide the “<b>server. [myid]”</b> property as follows and <b>myid</b> is the
unique number assign to each zookeeper instance in the cluster. There are few
other properties need to update as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\kafka-<b>broker1\\</b>zookeeper\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=<b>2181</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.1=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.2=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.3=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=5<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<myid>=<hostname>:<leaderport>:<electionport><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node1, don’t need update “<b>clientPort</b>”
and keep it default port <b>2181</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to config directory of “<b>kafka-broker2</b>”
update “<b>zookeeper.properties</b>” with following properties . <o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUsX-nidq_gAIY2H4rcJSGI9nomwAPBg9HRRsRXN0UrDS8R_14CjhyUHtkJLf0cdt1cFI2-tzJZWaYR8KHTpAFJfAP41O3MTJf2eSeQq2n3dgbN5vqDYgEEudV5hARbUsCkRQB2Dz3MGBL/s940/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="619" data-original-width="940" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUsX-nidq_gAIY2H4rcJSGI9nomwAPBg9HRRsRXN0UrDS8R_14CjhyUHtkJLf0cdt1cFI2-tzJZWaYR8KHTpAFJfAP41O3MTJf2eSeQq2n3dgbN5vqDYgEEudV5hARbUsCkRQB2Dz3MGBL/w640-h422/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Data Directory<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create zookeeper data directory and update same path
in zookeeper properties file.<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example:<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">C:\\kafka-workspace\\kafka-broker2\\zookeeper\\data<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper myid<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create “<b>myid</b>” file in zookeeper data directory
and provide zookeeper id that is “<b>2</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNr0nFkhdRBFLDzNGVL47ZE1jSzOY9e4d8Vq0j_YXyoGCgyaRiMU2HVisf_Els3G_v2SmS9sLYkgdQgs2OWrVenS5WtFraDy9NR9m5xo_S5yuL3YMkMGBJDOejPPf_-0tLXZnEZSCwZizv/s972/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="282" data-original-width="972" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNr0nFkhdRBFLDzNGVL47ZE1jSzOY9e4d8Vq0j_YXyoGCgyaRiMU2HVisf_Els3G_v2SmS9sLYkgdQgs2OWrVenS5WtFraDy9NR9m5xo_S5yuL3YMkMGBJDOejPPf_-0tLXZnEZSCwZizv/w640-h186/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update “<b>dataDir</b>” to valid path that was crated
before. We are managing 3 nodes of zookeeper so we need to provide the <b>server.
[myid]</b> property as follows and <b>myid</b> is the unique number assign to
each zookeeper instance in the cluster. There are few other properties need to
update as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\kafka-<b>broker2\\</b>zookeeper\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=<b>2182</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.1=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.2=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.3=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=5<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<myid>=<hostname>:<<b>leaderport</b>>:<<b>electionport</b>><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2 we need to update “<b>clientPort</b>”
and it is port <b>2182.</b><o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node3<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to config directory of “<b>kafka-broker3</b>”
update “<b>zookeeper.properties</b>” with following properties . <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4yrXSLekMRIbsRVr2XhuW__zjHNo9FHrZv2Tc-t7rucR1LnECGng8r-Ybbru7spuPGdx-7-LnqjygmpZ6nj1LsaW65Kahgagkmfkm2HwHPkbkU6BPFqQmCdf7DEd7GaYx5gllAqCUO14z/s925/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="607" data-original-width="925" height="420" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4yrXSLekMRIbsRVr2XhuW__zjHNo9FHrZv2Tc-t7rucR1LnECGng8r-Ybbru7spuPGdx-7-LnqjygmpZ6nj1LsaW65Kahgagkmfkm2HwHPkbkU6BPFqQmCdf7DEd7GaYx5gllAqCUO14z/w640-h420/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Data Directory<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create zookeeper data directory and update same path
in zookeeper properties file.<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Example:<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">C:\\kafka-workspace\\kafka-broker3\\zookeeper\\data<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper myid<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create “<b>myid</b>” file in zookeeper data directory
and provide zookeeper id that is “<b>3</b>”<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrxzRUdO1jrK7wCBvV3FvfSuKRvvwI_ozjS5WJYze_ajkKMTezUaYoohLDbje3HjSASGV2iH0Aw895Jp8akZKQHnBfiRKkLuncAyxnJqivxuBv1-OXiJx8FZ9YRn5E1WF32PHWKpdqq1ko/s1037/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="243" data-original-width="1037" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrxzRUdO1jrK7wCBvV3FvfSuKRvvwI_ozjS5WJYze_ajkKMTezUaYoohLDbje3HjSASGV2iH0Aw895Jp8akZKQHnBfiRKkLuncAyxnJqivxuBv1-OXiJx8FZ9YRn5E1WF32PHWKpdqq1ko/w640-h150/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update “dataDir” to valid path that was crated before.
We are managing 3 nodes of zookeeper so we need to provide the <b>server.
[myid]</b> property as follows and <b>myid</b> is the unique number assign to
each zookeeper instance in the cluster. There are few other properties need to
update as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\kafka-<b>broker3\\</b>zookeeper\\data<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">clientPort=<b>2183</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<b>1</b>=localhost:2666:3666<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<b>2</b>=localhost:2667:3667<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<b>3</b>=localhost:2668:3668<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">tickTime=2000<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">initLimit=5<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">syncLimit=2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">server.<myid>=<hostname>:<leaderport>:<electionport><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node3 we need to update “<b>clientPort</b>”
and it is port <b>2183.<o:p></o:p></b></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note:<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper will use <b>serever.[myid]</b> ports to
communicate each other and maintain cluster and sync the data. This
configuration should be present in all Zookeeper instances in the cluster.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Zookeeper Instances<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locates to <b>Kafka Broker1</b>
root directory and use following command to start zookeeper service.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\zookeeper-server-start.bat
.\config\zookeeper.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-YuYndtn2iY-Na6FEzZYvgV6TXNJj9mX7jP-U0tcuyTHYnZP7O3EFUN-4Ow6e4l54gsvus6exaB6IeNvBRzwUBFagNdtoRCOdjdeOfp26bcf0oMrUN1cN8peTi9Z8_cE35u3t6UToIjCc/s1076/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="107" data-original-width="1076" height="64" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-YuYndtn2iY-Na6FEzZYvgV6TXNJj9mX7jP-U0tcuyTHYnZP7O3EFUN-4Ow6e4l54gsvus6exaB6IeNvBRzwUBFagNdtoRCOdjdeOfp26bcf0oMrUN1cN8peTi9Z8_cE35u3t6UToIjCc/w640-h64/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">If no errors in the logs it means zookeeper node1 is started
successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOw0cEB9oUmODGkAToDKwG8l-sWXGOUIkK7pLabVaaPKbUwo0fBfjmIrvwkiJsgxmPuF8ljxy45gSYITnB0R7zKVeGr45fBm2tJrwTjOP2fMw6Q4BDSJurvjVvdxjrjbdgnUDjUPLEfu58/s1112/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="651" data-original-width="1112" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOw0cEB9oUmODGkAToDKwG8l-sWXGOUIkK7pLabVaaPKbUwo0fBfjmIrvwkiJsgxmPuF8ljxy45gSYITnB0R7zKVeGr45fBm2tJrwTjOP2fMw6Q4BDSJurvjVvdxjrjbdgnUDjUPLEfu58/w640-h374/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note: <o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">You may see “<b><i>java.net.ConnectException:
Connection refused: connect</i></b>” warning and its due to other nodes are not
yet started.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locates to <b>Kafka Broker2</b>
root directory and use following command to start zookeeper service.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\zookeeper-server-start.bat
.\config\zookeeper.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj80hJb99soFBM3iQmj0yE6bNPnCklZ3WogI-SjY99NOiqLO97LFIWEfityfYIlHXA9zjZIeGbpul8CCE9VkD2NqLRJWtxaafwyegUOcaeU01i26nr9GjunbdotP1kXWjCZftDESnsFcPGS/s1077/11.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="76" data-original-width="1077" height="46" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj80hJb99soFBM3iQmj0yE6bNPnCklZ3WogI-SjY99NOiqLO97LFIWEfityfYIlHXA9zjZIeGbpul8CCE9VkD2NqLRJWtxaafwyegUOcaeU01i26nr9GjunbdotP1kXWjCZftDESnsFcPGS/w640-h46/11.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">If no errors in the logs it means zookeeper node1 is started
successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7GzazC2HIis7xXnCMtXTq8IZZS3QmLNypHCBvQm9pOcCnjhVdAODTxYdTdkg9lm5ZDkXFkGcHGrs8541B9INWfH_tys-cOI7wdab6KPOhYJFUEefor0KyskoD7CHKn3bkKyN_pjVwf2ml/s1131/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="639" data-original-width="1131" height="362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7GzazC2HIis7xXnCMtXTq8IZZS3QmLNypHCBvQm9pOcCnjhVdAODTxYdTdkg9lm5ZDkXFkGcHGrs8541B9INWfH_tys-cOI7wdab6KPOhYJFUEefor0KyskoD7CHKn3bkKyN_pjVwf2ml/w640-h362/12.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note: <o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">You may see “<b><i>java.net.ConnectException:
Connection refused: connect</i></b>” warning and its due to other nodes may not
started.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper Node3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locates to <b>Kafka Broker3</b>
root directory and use following command to start zookeeper service.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\zookeeper-server-start.bat
.\config\zookeeper.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiYOhLPCTPxdPpADlFYwfe6od0Cm9S7isVhw_yR8WtbwbOy9wG-7FYFF4ob00nRVGWBftWxbjYS1xIqMkct3w_C67Tr5aqVSLBg6xtlhiAzho6TMx4h050ZXw2DkBOGx4GYyNtWG89IFK4/s1082/13.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="79" data-original-width="1082" height="46" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiYOhLPCTPxdPpADlFYwfe6od0Cm9S7isVhw_yR8WtbwbOy9wG-7FYFF4ob00nRVGWBftWxbjYS1xIqMkct3w_C67Tr5aqVSLBg6xtlhiAzho6TMx4h050ZXw2DkBOGx4GYyNtWG89IFK4/w640-h46/13.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">If no errors in the logs it means zookeeper node3
started is successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4xfRzGP28P2PcBDRQgGhF_yq0vL_0zMBjy-xikDMh1ud4md0tkm21AuBOwH3fT-BRQUa1vcAFcEaLb_ERM7fpOV9GpxoFO9qjoMVtbpB_AwboT4EnCz7dWYT71zaTK2cR9KBDUxzuMYL0/s1103/14.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="640" data-original-width="1103" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4xfRzGP28P2PcBDRQgGhF_yq0vL_0zMBjy-xikDMh1ud4md0tkm21AuBOwH3fT-BRQUa1vcAFcEaLb_ERM7fpOV9GpxoFO9qjoMVtbpB_AwboT4EnCz7dWYT71zaTK2cR9KBDUxzuMYL0/w640-h372/14.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Cluster Configuration<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have successfully configured the zookeeper cluster and
it’s time for configure the Kafka broker cluster.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker1<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to <b>Kafka Broker1</b> root directory and
update “<b>server.properties</b>”.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv4Ec-60lJ1hUe3wCfe_WWs_UtrHCrN8ieifD8_11WFuXv1ssI7BSeURhXPgfbNvxa7cRNsysghHGXBaFM3TRcpP9e8cnLpVBs4zbUb-O2I5UbcfkUz9AwNqdQv4tDk30-D-rtUD_tMRX/s971/15.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="555" data-original-width="971" height="366" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirv4Ec-60lJ1hUe3wCfe_WWs_UtrHCrN8ieifD8_11WFuXv1ssI7BSeURhXPgfbNvxa7cRNsysghHGXBaFM3TRcpP9e8cnLpVBs4zbUb-O2I5UbcfkUz9AwNqdQv4tDk30-D-rtUD_tMRX/w640-h366/15.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to update <b>broker.id, listener and zookeeper.connect</b>
properties as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">log.dirs=C:\\kafka-workspace\\kafka-<b>broker1</b>\\kafka-logs<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">listeners=PLAINTEXT://:<b>9092</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">broker.id=1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper.connect=localhost:<b>2181</b>,localhost:<b>2182</b>,localhost:<b>2183</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">zookeeper.connect </span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">is
comma separated values of zookeeper cluster nodes.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to <b>Kafka Broker2</b> root directory and
update “<b>server.properties</b>”.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIeRRNqPsznoBkCKgUSvbnXentFDAL7zyJ_JlspZjkqdgrjPrjKR4a8eRK9JL9_uQebL5hTBPKIqI0Rtw8Gpn0BY89RQNKi_ondUKdCqbcLurVABmDSlq6CdMYMtzopI2AwW8GHhguprAI/s896/16.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="601" data-original-width="896" height="430" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIeRRNqPsznoBkCKgUSvbnXentFDAL7zyJ_JlspZjkqdgrjPrjKR4a8eRK9JL9_uQebL5hTBPKIqI0Rtw8Gpn0BY89RQNKi_ondUKdCqbcLurVABmDSlq6CdMYMtzopI2AwW8GHhguprAI/w640-h430/16.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to update <b>broker.id, listener and
zookeeper.connect</b> properties as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">log.dirs=C:\\kafka-workspace\\kafka-<b>broker2</b>\\kafka-logs<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">listeners=PLAINTEXT://:<b>9093</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">broker.id=<b>2</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper.connect=localhost:<b>2181</b>,localhost:<b>2182</b>,localhost:<b>2183</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">zookeeper.connect </span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">is
comma separated values of zookeeper cluster nodes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker3<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to <b>Kafka Broker3</b> root directory and
update “<b>server.properties</b>”.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVGLClwHR09f1nStQJCVfJnlgzFwD4xEMsVNbUsBIVLnIHjMuQ5qE7QDTSNZH11zgmyugFKysWqpTEg9r3mCNImYWQU3u4jTe3M_YQRGfEsq8VhHnl9oCcUMOqdB7vR62AGshkIHRH6lnV/s944/17.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="579" data-original-width="944" height="392" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVGLClwHR09f1nStQJCVfJnlgzFwD4xEMsVNbUsBIVLnIHjMuQ5qE7QDTSNZH11zgmyugFKysWqpTEg9r3mCNImYWQU3u4jTe3M_YQRGfEsq8VhHnl9oCcUMOqdB7vR62AGshkIHRH6lnV/w640-h392/17.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We need to update <b>broker.id, listener and
zookeeper.connect</b> properties as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">log.dirs=C:\\kafka-workspace\\kafka-<b>broker3</b>\\kafka-logs<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">listeners=PLAINTEXT://:<b>9094</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">broker.id=<b>3</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper.connect=localhost:<b>2181</b>,localhost:<b>2182</b>,localhost:<b>2183</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">zookeeper.connect </span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">is
comma separated values of zookeeper cluster nodes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Note:<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are running multiple brokers in same machine so we
have to change ports numbers. In real world cluster configuration, each server has
one broker so there no changes in the configuration.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">broker.id.generation.enable</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
property will generate broker.id dynamically and manually assign broker.id not
required if we use this property.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka Brokers<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to <b>Kafka Broker1</b>
root directory. Run following command to start <b>Kafka broker1</b> service.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaALHSVoYW0rl7ZjtUjTYGbfHeAyupHeGBNPiT8f72jMSBzWXfK2t63nUcyzoSrZCEvuMdjGZhkUg9wS89eYmZ9kvnhbjX3EOrWEGL42PbwRFqj4Zfn92vCPyu9uCoo0wud2Wz6O6cy3B/s1097/18.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="68" data-original-width="1097" height="40" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaALHSVoYW0rl7ZjtUjTYGbfHeAyupHeGBNPiT8f72jMSBzWXfK2t63nUcyzoSrZCEvuMdjGZhkUg9wS89eYmZ9kvnhbjX3EOrWEGL42PbwRFqj4Zfn92vCPyu9uCoo0wud2Wz6O6cy3B/w640-h40/18.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see Kafka started message in the logs with <b>broker
Id</b>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1J2SVg0-ImnTVpl-wQNclMzAMQ-1aM_smLyyO5c6SCZ7j9tEneSRuYkpItL3S4hKw3O6bZsL2a3ByRFdT3TvMKjKoLAuGOtVrbQ8je3alSZ-1AoUDS9eZkVh4-p2GSFb35dBB0eeIkPUB/s1920/19.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="983" data-original-width="1920" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1J2SVg0-ImnTVpl-wQNclMzAMQ-1aM_smLyyO5c6SCZ7j9tEneSRuYkpItL3S4hKw3O6bZsL2a3ByRFdT3TvMKjKoLAuGOtVrbQ8je3alSZ-1AoUDS9eZkVh4-p2GSFb35dBB0eeIkPUB/w640-h328/19.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to <b>Kafka Broker2</b>
root directory. Run following command to start <b>Kafka broker2</b> service.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeFxUZ8KhdIEOgnq-MLYej0BxCe_bJMMjc-tYEMO_CvLxYMNxQNe34nHHjfRGjtJBzQy_EsPxkkuSQuNPCKW207IQKmC2HcZOFpx_iiPSbGC3oMvI-C6ku-EkLH3XwGDTubLn4s1gaTP8s/s1094/20.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="72" data-original-width="1094" height="42" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeFxUZ8KhdIEOgnq-MLYej0BxCe_bJMMjc-tYEMO_CvLxYMNxQNe34nHHjfRGjtJBzQy_EsPxkkuSQuNPCKW207IQKmC2HcZOFpx_iiPSbGC3oMvI-C6ku-EkLH3XwGDTubLn4s1gaTP8s/w640-h42/20.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see Kafka started message in the logs with <b>broker
Id</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcoDTBWPWewm5OpVad1uK1hIGlwdMaSSlZEWglgLJEewsx7crqLgQjCMxrgTrPIWEVB9vwPIqXLbDDVv9XWku-zpDWTOXes5XgKHXd6vZ7HHxh6bOWYBZofSBqf1vaFhS7LX7CbDHrqxdh/s1884/21.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="837" data-original-width="1884" height="284" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcoDTBWPWewm5OpVad1uK1hIGlwdMaSSlZEWglgLJEewsx7crqLgQjCMxrgTrPIWEVB9vwPIqXLbDDVv9XWku-zpDWTOXes5XgKHXd6vZ7HHxh6bOWYBZofSBqf1vaFhS7LX7CbDHrqxdh/w640-h284/21.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka Broker3<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka Broker2 root
directory. Run following command to start Kafka broker service.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHGIYf5FnNSRiM-3AdTXdcK64J26FnRyxaTYaDD-6XjlETn_hbEOX8CsPNLzo-9nbogrFfUlSy6QhKV6GPBkQ6EdD13gzexTCKYeI1P8nEuhhZ2P91P4Ft6snT-O0c7BLmCk47F8vs_Txs/s960/22.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="76" data-original-width="960" height="50" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHGIYf5FnNSRiM-3AdTXdcK64J26FnRyxaTYaDD-6XjlETn_hbEOX8CsPNLzo-9nbogrFfUlSy6QhKV6GPBkQ6EdD13gzexTCKYeI1P8nEuhhZ2P91P4Ft6snT-O0c7BLmCk47F8vs_Txs/w640-h50/22.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see Kafka started message in the logs with
broker Id.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZKaL3zclAzJcp_9b4D13RpxBiYrXl2UXtaGivH71taU0hP1IGO_s4O_mZkOysZgJAc7b53MC-cfoBdFxmgj1UcBZ9_nCrQ31AGuyqUqhU1gCkX0wD0DGpqKtZ6VBZq62XDB8SZ7dXPQTn/s1887/23.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1013" data-original-width="1887" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZKaL3zclAzJcp_9b4D13RpxBiYrXl2UXtaGivH71taU0hP1IGO_s4O_mZkOysZgJAc7b53MC-cfoBdFxmgj1UcBZ9_nCrQ31AGuyqUqhU1gCkX0wD0DGpqKtZ6VBZq62XDB8SZ7dXPQTn/w640-h344/23.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">If all brokers started successfully then Kafka cluster
is successfully completed.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Kafka Cluster<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We create Kafka topic and produce some messages on
topic. Other end we will run consumer to receive messages.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Topic<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to one of the Kafka broker
bin windows directory. Use following create topic command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--<b>create</b> --zookeeper <b>localhost:2181,localhost:2182,localhost:2183</b>
--replication-factor <b>3</b> --partitions <b>3</b> --topic
first-kafka-cluster-topic<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We should pass all zookeeper cluster nodes in the
options.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip56izec_XA_3QdoscN2U0HDR6XKTeVq39VgvO06B-KtOJ2ZXoqJsjy1PrKaGyN-E-X_PSTm-p5Q97KI97WVok9Rxs_2eDWVEJmRym8gqI4GAyaGpi3oQw6TpgCPqrf4xYav_9e9of_F1o/s1895/24.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="265" data-original-width="1895" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip56izec_XA_3QdoscN2U0HDR6XKTeVq39VgvO06B-KtOJ2ZXoqJsjy1PrKaGyN-E-X_PSTm-p5Q97KI97WVok9Rxs_2eDWVEJmRym8gqI4GAyaGpi3oQw6TpgCPqrf4xYav_9e9of_F1o/w640-h90/24.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">List topics<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--zookeeper localhost:2181,localhost:2182,localhost:2183 --list<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">List command list the all topics in the Kafka.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisWEmySuDCda7r2d7nQ7F5J499uTAtKAduwpD6599LBTuBBLAvx0350YtwPpfD5HUomm415_WStrlDnv3uLBE1qaai0gRMZ56ZjihWkVMnM73K68_40mZkd4akr9fopyla3tSVyLhMJ9Nn/s1572/25.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="153" data-original-width="1572" height="62" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisWEmySuDCda7r2d7nQ7F5J499uTAtKAduwpD6599LBTuBBLAvx0350YtwPpfD5HUomm415_WStrlDnv3uLBE1qaai0gRMZ56ZjihWkVMnM73K68_40mZkd4akr9fopyla3tSVyLhMJ9Nn/w640-h62/25.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Producer<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to one of the Kafka Broker
bin windows directory. Use following producer command to start producer and
post messages on specific topic.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-console-producer.bat
--broker-list localhost:9092,localhost:9093,localhost:9094 --topic
first-kafka-cluster-topic <o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Broker-list is Kafka Brokers list which we have
configured in the cluster (<b>localhost:9092,localhost:9093,localhost:9094</b>).<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeYYA118X8xyApxWFsDZIg_fpqca8jxNHw5TSycZGDhrbbv6jrdbyOJMypvRlCYJfNtbImPbIgcJ2AeIFlSC9vDjABxK5uv8nQCvtLwW8wzarvPiBR1ilZ1sY3QNwIGDTtgImdZsrAXK18/s1572/25.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="153" data-original-width="1572" height="62" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeYYA118X8xyApxWFsDZIg_fpqca8jxNHw5TSycZGDhrbbv6jrdbyOJMypvRlCYJfNtbImPbIgcJ2AeIFlSC9vDjABxK5uv8nQCvtLwW8wzarvPiBR1ilZ1sY3QNwIGDTtgImdZsrAXK18/w640-h62/25.1.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Consumer<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following consumer command to start consumer.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-console-consumer.bat
--bootstrap-server <b>localhost:9092,localhost:9093,localhost:9094</b> <b>--topic
first-kafka-cluster-topic</b> --from-beginning<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi65CjI-KQ9Y7OJvkhpxx3CqeyHXC00noxis-QksEDf1J-2hSJEhjR6vDTfNlKg7qHdwLleQl5hjCdndj_ko1xQxugPoXeiObOEh-XW2Yfri1pUXB_Rk6rCPriPqSr9zb-WjJXWkGThH2Dx/s1108/26.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="646" data-original-width="1108" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi65CjI-KQ9Y7OJvkhpxx3CqeyHXC00noxis-QksEDf1J-2hSJEhjR6vDTfNlKg7qHdwLleQl5hjCdndj_ko1xQxugPoXeiObOEh-XW2Yfri1pUXB_Rk6rCPriPqSr9zb-WjJXWkGThH2Dx/w640-h374/26.JPG" width="640" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now type some messages on producer command prompt and
same messages are receiving at consumer command prompt. This confirms the
installation of Kafka Cluster is successful.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQc3CBZftuAV7LYA3wQ7jj8gtWztYdTtuDJZZU-212xOyQGmmP65KTX_wRPetBwulli0qglDEFt4nI1hC3a59XYrLu7NaqtaeX_xXr7Y-06vNKG1CNTKl_bOJEk5gjz_ydXM-Jl_wajEfk/s1107/27.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1002" data-original-width="1107" height="580" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQc3CBZftuAV7LYA3wQ7jj8gtWztYdTtuDJZZU-212xOyQGmmP65KTX_wRPetBwulli0qglDEFt4nI1hC3a59XYrLu7NaqtaeX_xXr7Y-06vNKG1CNTKl_bOJEk5gjz_ydXM-Jl_wajEfk/w640-h580/27.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">References<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><a href="https://docs.confluent.io/platform/current/zookeeper/deployment.html"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://docs.confluent.io/platform/current/zookeeper/deployment.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><a href="https://docs.confluent.io/platform/current/installation/configuration/broker-configs.html"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://docs.confluent.io/platform/current/installation/configuration/broker-configs.html</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i>Notes:</i></u></b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><u><i><br /></i></u></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">This example is demonstrating Kafka cluster
configuration and replicated in single machine. Real world cluster can be created
with different servers and each server have one Kafka broker.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its not necessary to keep Zookeeper and Kafka both are
in same server. Separating the Zookeeper and Kafka brokers’ cluster is the one of
the best practices.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have separate Zookeeper binaries to install standalone
zookeeper.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com1tag:blogger.com,1999:blog-4305105234376370815.post-24882439020101777742021-07-05T06:42:00.007+05:302021-07-06T05:20:52.414+05:30Kafka Installation on Windows<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Kafka is distributed event streaming software based on
</span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">publish and subscribe to</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> model. Its very powerful streaming software
used by many organizations.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">More details are find in the below link<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://kafka.apache.org/intro" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://kafka.apache.org/intro</span></a><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"></span></p><div class="separator" style="clear: both; text-align: center;"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlWkcHElX-nNOSCKNkqIAN7zP2SrFgxN0qEBasq9EVqM3QVb5CJYYft0Wn0o2SFHZ2TN-q_v5rbDiyQ3uS_LjY2t6HcqfApG5X2XNrg4w3W-WfTxbXar8H8BOEbg4-cZFIO_F-LmVvbaHx/s1206/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="531" data-original-width="1206" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlWkcHElX-nNOSCKNkqIAN7zP2SrFgxN0qEBasq9EVqM3QVb5CJYYft0Wn0o2SFHZ2TN-q_v5rbDiyQ3uS_LjY2t6HcqfApG5X2XNrg4w3W-WfTxbXar8H8BOEbg4-cZFIO_F-LmVvbaHx/w640-h282/0.JPG" width="640" /></a></span></div><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /><o:p><br /></o:p></span><p></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Prerequisite<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka is required minimum <b>JAVA version 1.8</b> and
above (JAVA_HOME environment variable need setup in the system)<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Need <b>7zip software</b> to extract <b>.tgz</b> files
in windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download and Extract<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download latest Kafka software from below location.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://kafka.apache.org/downloads.html" target="_blank"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">http://kafka.apache.org/downloads.html</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Direct link is below<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.apache.org/dyn/closer.cgi?path=/kafka/2.8.0/kafka_2.13-2.8.0.tgz"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">https://www.apache.org/dyn/closer.cgi?path=/kafka/2.8.0/kafka_2.13-2.8.0.tgz</span></a><span class="MsoHyperlink"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract “<b>kafka_2.13-2.8.0.tgz</b>” in local drive.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh83UOGvDCyC4m2_Z1kx9fI-hyuwnIgxXLjx9y1w3cU0DN5vhMlp6zr_MxBMJ-_KlsY3Wsx0i-GovF1iQdctznajJq20eZurIxKu7zySTgh45ouZseF-58JvRrK_hfPv7v6aVqKjBnQOZDq/s1188/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="428" data-original-width="1188" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh83UOGvDCyC4m2_Z1kx9fI-hyuwnIgxXLjx9y1w3cU0DN5vhMlp6zr_MxBMJ-_KlsY3Wsx0i-GovF1iQdctznajJq20eZurIxKu7zySTgh45ouZseF-58JvRrK_hfPv7v6aVqKjBnQOZDq/w640-h230/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Zookeeper<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Kafka is required zookeeper service to manage Kafka
cluster. Latest version of Kafka has embedded zookeeper. Older version of Kafka
was required to install zookeeper as separate service outside of Kafka.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open “<b>zookeeper.properties</b>” file in the config
directory and update location for <b>zookeeper data directory</b>.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZzYtAu2mLRDqn2E7Nt7Oo-pRzFnKgETgr0o967QgSKU5griv7YZe3gfknv4AW0pVgp71oyI__C4n1elmLfaFQGhS9KXFGqvIXb16P5ACiA6LA5uq2AG0Cd8wvGP1XpJ8BbGsBW_CalBae/s1004/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="623" data-original-width="1004" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZzYtAu2mLRDqn2E7Nt7Oo-pRzFnKgETgr0o967QgSKU5griv7YZe3gfknv4AW0pVgp71oyI__C4n1elmLfaFQGhS9KXFGqvIXb16P5ACiA6LA5uq2AG0Cd8wvGP1XpJ8BbGsBW_CalBae/w640-h398/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">dataDir=C:\\kafka-workspace\\kafka_2.13-2.8.0\\zookeeper\\data<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Zookeeper uses the default port <b>2181. </b><span style="mso-spacerun: yes;"> </span>There are many zookeeper properties can update
based on requirement.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locates to Kafka root
directory and use following command to start zookeeper service.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\zookeeper-server-start.bat
.\config\zookeeper.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></b></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Finally, zookeeper is running on <b>localhost:2181</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2f7wfilUBbMKktsIMl9OChKCFST3Q3_ePmSq3nVaio4ynCwdgveh_AX5zJ8yO7-V7WQzDzyTo8WO4Hes0mDp5JCMjL_45uouQOI4nAKwEVCU6PEZoQa2aJ4oZ5kKn9eRWHM6UHQiM1-Ts/s1292/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="126" data-original-width="1292" height="62" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2f7wfilUBbMKktsIMl9OChKCFST3Q3_ePmSq3nVaio4ynCwdgveh_AX5zJ8yO7-V7WQzDzyTo8WO4Hes0mDp5JCMjL_45uouQOI4nAKwEVCU6PEZoQa2aJ4oZ5kKn9eRWHM6UHQiM1-Ts/w640-h62/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We can see startup logs in console.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSHzWyuR0C_l5-h4RkKQq21XeNuYV2ciZtWUUXQ0ZF6YrCEWXlAyfDFk55doGPTpA1nNTLMD7ngEcMuu7PkmBcMyANxPbQy4vqM9ORJ0toOI-taBWkxjGTbQMsme509X1urOZWFnP0gH9w/s1118/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="652" data-original-width="1118" height="374" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSHzWyuR0C_l5-h4RkKQq21XeNuYV2ciZtWUUXQ0ZF6YrCEWXlAyfDFk55doGPTpA1nNTLMD7ngEcMuu7PkmBcMyANxPbQy4vqM9ORJ0toOI-taBWkxjGTbQMsme509X1urOZWFnP0gH9w/w640-h374/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once zookeeper started successfully, we can see <b>data
directory</b> with snapshot files.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinxWpx7DB0FRIeSeH-5KZBcWROTgP5fkmaK4k31Q5l0rNozXFZXbdUH722M_JIMt1yVQEgOfTBklExlBAvi-7HGk85__dbXLM1bJX-8pRVgR6zoNO0VHiB71g7dxVRd0v_v-z056NRpif9/s1233/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="385" data-original-width="1233" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinxWpx7DB0FRIeSeH-5KZBcWROTgP5fkmaK4k31Q5l0rNozXFZXbdUH722M_JIMt1yVQEgOfTBklExlBAvi-7HGk85__dbXLM1bJX-8pRVgR6zoNO0VHiB71g7dxVRd0v_v-z056NRpif9/w640-h200/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Kafka<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Locate to Kafka config directory and update “<b>server.properties</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR2igwq8csN_rmEM2g9JHW0hvwWlCW0hzu0OX3x7jrNW8H_0M_smKk1vHwq-L0CW3MgFTJAEMCe5yFQlH9VvemTA8PO77GUraJDNSzzErliipiK7HqnQTdBY8rohLbGEIl_LEcgegDFAnY/s978/5.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="567" data-original-width="978" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR2igwq8csN_rmEM2g9JHW0hvwWlCW0hzu0OX3x7jrNW8H_0M_smKk1vHwq-L0CW3MgFTJAEMCe5yFQlH9VvemTA8PO77GUraJDNSzzErliipiK7HqnQTdBY8rohLbGEIl_LEcgegDFAnY/w640-h372/5.1.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update Kafka logs directory to below location or any
other valid directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">log.dirs=C:\\kafka-workspace\\kafka_2.13-2.8.0\\kafka-logs<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It also have important property “<b>zookeeper.connect</b>”
and it uses the default value. If any changes in port or host name need to
update same property.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">zookeeper.connect=localhost:2181<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka root
directory. Run following command to start Kafka broker service.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;">bin\windows\kafka-server-start.bat
.\config\server.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpr6eLTr9SIG7u3gTQsKp3c4LCdX0B-nPvnB10nbQOECai4_FJN0sTBfZ7F6SwoBFtyCGAf5TK74rr5yQV5yPd8wHc4AWgLor_uDSkRtw4A3T0J-dbq8FcR-qOhr-pebAppSYT0xh43Hqn/s1083/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="73" data-original-width="1083" height="44" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpr6eLTr9SIG7u3gTQsKp3c4LCdX0B-nPvnB10nbQOECai4_FJN0sTBfZ7F6SwoBFtyCGAf5TK74rr5yQV5yPd8wHc4AWgLor_uDSkRtw4A3T0J-dbq8FcR-qOhr-pebAppSYT0xh43Hqn/w640-h44/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once Kafka started successfully we can see “<b>started
</b>(<b>kafka.server.KafkaServer</b>)” message in the logs.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSwHO8LcyqIeZY3rfALbMUTTDVCRpc0FNOKuDEuAf7uq-pMFbzBEwfYltzP1LMiWf2o3wQiJOBfEUGILuXcLkWgNB7uHAIE1RC2ffW99pmEwkVwGDuWy1x4Tul4wlm6O4cZcUgMXp4MSSX/s1105/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="643" data-original-width="1105" height="372" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSwHO8LcyqIeZY3rfALbMUTTDVCRpc0FNOKuDEuAf7uq-pMFbzBEwfYltzP1LMiWf2o3wQiJOBfEUGILuXcLkWgNB7uHAIE1RC2ffW99pmEwkVwGDuWy1x4Tul4wlm6O4cZcUgMXp4MSSX/w640-h372/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Installation<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We create Kafka topic and produce some messages on topic.
Other end we will run consumer to receive messages.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create Kafka Topic<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following create topic command.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-topics.bat
--create --zookeeper localhost:2181 --replication-factor 1 --partitions 1
--topic <b>first-kafka-topic</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK_pmzCOB5-uReB8eNkxuyAywhVIT_HJrSlPNmeD3Q9vuVK7WDsJrQNnRi3gyS6nglOpTgce3aivxSdYat17RJbxUJKNjK_WmKoy586OyGjqljiNZmwJNXxO9eFoG3GeN37no3HTdqvYMu/s1103/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="636" data-original-width="1103" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK_pmzCOB5-uReB8eNkxuyAywhVIT_HJrSlPNmeD3Q9vuVK7WDsJrQNnRi3gyS6nglOpTgce3aivxSdYat17RJbxUJKNjK_WmKoy586OyGjqljiNZmwJNXxO9eFoG3GeN37no3HTdqvYMu/w640-h370/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">List topics<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBYcTbn240Tcl1f-PcNJmwq20kUt2ThWi9Nbeav2-i41QlfcLSrHBm_IKNkqzqg3VpJSfmleXUs30v5XLyUBfwXlesccwVRae4gLD0LoLas34vHLO4iK9ccpDEngV6-yS_suZrm85kBr0/s1116/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="315" data-original-width="1116" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRBYcTbn240Tcl1f-PcNJmwq20kUt2ThWi9Nbeav2-i41QlfcLSrHBm_IKNkqzqg3VpJSfmleXUs30v5XLyUBfwXlesccwVRae4gLD0LoLas34vHLO4iK9ccpDEngV6-yS_suZrm85kBr0/w640-h180/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">There are many other commands we can see by typing --help<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm32u7oVPvzVmLFvBdILNbErDR6CYuIstfwtcZauUfo2NplrAJADm2x99vDM-jfi3T4lzg1jK4_MRTXO2yJze4jls-fkR8tmisj9we1gIxk1wdYx44jDliIkwZTZHEchk3Nw5qj5kUrnwO/s1893/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1029" data-original-width="1893" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm32u7oVPvzVmLFvBdILNbErDR6CYuIstfwtcZauUfo2NplrAJADm2x99vDM-jfi3T4lzg1jK4_MRTXO2yJze4jls-fkR8tmisj9we1gIxk1wdYx44jDliIkwZTZHEchk3Nw5qj5kUrnwO/w640-h348/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Producer<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following producer command to start producer and post messages
on specific topic.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">kafka-console-producer.bat
--broker-list localhost:<b>9092</b> --topic <b>first-kafka-topic</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Broker-list is Kafka server and which is running on <b>9092</b>
default port.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgijVS1TCYFOPFcNfdp9uMhhoM16iPgld_ksKLmNRSvB2P6I5R_cfjiSOzzYTJa3vKwCwoA4RyZoOfp3mmiuT6djW0TCXaiFItL8onMaphaYWoK9CQOC-zUyi2FMkqZGUYCYEiMHckafTQu/s910/11.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="632" data-original-width="910" height="444" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgijVS1TCYFOPFcNfdp9uMhhoM16iPgld_ksKLmNRSvB2P6I5R_cfjiSOzzYTJa3vKwCwoA4RyZoOfp3mmiuT6djW0TCXaiFItL8onMaphaYWoK9CQOC-zUyi2FMkqZGUYCYEiMHckafTQu/w640-h444/11.JPG" width="640" /></a></div><br /><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span><p></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Consumer<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt and locate to Kafka bin windows
directory. Use following consumer command to start consumer.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%;">kafka-console-consumer.bat <b>--bootstrap-server</b>
localhost:9092 --topic <b>first-kafka-topic<o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_yryD2AZm5iOHKs4p-dcedDxwd4fOqhMrEEzZq5xZQmv4SJsmoAoRRlzxPztSY_v_0Ew2-soeJFVmzpU4nfpRBRhS9v4vJBY8Z9QTDRcMjw57wmA_Oa1bSaWZQtLuAgF_COTBCAfoT932/s995/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="639" data-original-width="995" height="412" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_yryD2AZm5iOHKs4p-dcedDxwd4fOqhMrEEzZq5xZQmv4SJsmoAoRRlzxPztSY_v_0Ew2-soeJFVmzpU4nfpRBRhS9v4vJBY8Z9QTDRcMjw57wmA_Oa1bSaWZQtLuAgF_COTBCAfoT932/w640-h412/12.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Now type some messages on producer command prompt and
same messages are receiving at consumer command prompt. This confirms the installation
of Kafka is successful.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM3bUZ6VtnbDjEPkl1L-TlSSN5J8GHMYQat4CiNLuAdeysuDUgkS-BDmjyWmkdpCZfO5umpxE4SrZRz4IjlTOPZcvbaZ2DwI-OdWEcy-oR0MdX1TF80Y11k6esdxuu1UQx3S-cQPm8LQFM/s1900/13.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="623" data-original-width="1900" height="210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM3bUZ6VtnbDjEPkl1L-TlSSN5J8GHMYQat4CiNLuAdeysuDUgkS-BDmjyWmkdpCZfO5umpxE4SrZRz4IjlTOPZcvbaZ2DwI-OdWEcy-oR0MdX1TF80Y11k6esdxuu1UQx3S-cQPm8LQFM/w640-h210/13.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">References<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://kafka.apache.org/quickstart" target="_blank">https://kafka.apache.org/quickstart</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com0tag:blogger.com,1999:blog-4305105234376370815.post-60554083753986412802021-07-04T07:53:00.009+05:302021-07-04T22:40:30.389+05:30Liferay Portal Apache Webserver Integration<p><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Apache webserver</span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Enable mod_jk apache module<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Liferay<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Modify Liferay tomcat server configuration<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure mod_jk and worker properties<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Integration<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Objective of this article to demonstrate integration of
Apache webserver and Liferay Portal server. It will provide complete
information on enable load balance among Liferay portal servers from apache
webserver. We will use <b>mod_jk</b> apache tomcat connector to enable
communication and load balance between apache webserver and Liferay portal tomcat
server.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">To replicate environment in single machine, I will run
two Liferay portal instances on two different http and AJP ports. AJP ports
will be used for communicate with apache webserver.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Software’s and Tools<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: Times New Roman, serif;"><span style="font-size: 18.6667px;"><b>Apache 2.4</b></span></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay 7.4<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Lpr5hDMnWM5GrKE8rERw63UP6eeWHz2pF3Fn5PnTqcmQIcspRDRkG1ylCgABTg3KL7PydTVSGedAfFnu_8ksr2hRn9__VjMkdHOYUdRAE-VDLCEK7S8w2UUSrAy9DYSaDBEPkh0BkgC5/s1550/0.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="879" data-original-width="1550" height="362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Lpr5hDMnWM5GrKE8rERw63UP6eeWHz2pF3Fn5PnTqcmQIcspRDRkG1ylCgABTg3KL7PydTVSGedAfFnu_8ksr2hRn9__VjMkdHOYUdRAE-VDLCEK7S8w2UUSrAy9DYSaDBEPkh0BkgC5/w640-h362/0.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Apache webserver<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download latest Apache webserver from Apache Haus website
and install in machine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow below article to install Apache webserver in
windows 10 machine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/install-apache-webserver-in-windows.html" target="_blank">http://www.liferaysavvy.com/2021/07/install-apache-webserver-in-windows.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Enable mod_jk apache module<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We will use <b>mod_jk</b> module to communicate between
apache webserver and application server through AJP protocol.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Follow below article to enable mod_jk module in Apache
webserver.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/enable-modjk-module-in-apache-webserver.html" target="_blank">http://www.liferaysavvy.com/2021/07/enable-modjk-module-in-apache-webserver.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Install Liferay<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download latest Liferay portal community edition from
following Liferay website. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay and tomcat server comes with bundle so we can
download Liferay tomcat portal bundle from below link.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://www.liferay.com/downloads-community" target="_blank">https://www.liferay.com/downloads-community</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8K1x5nhAYvi2tAOkjvJ8Cu0Spo2VLXjbxBIEAPrkSSk66BEq86hnHO2b8ZDoPSVYZd45KF3QCrtLVRWXFvVqICXQV9c2nmtVPsSp15N3owL6_An8tTDHTQhnNE7J3r3gAJZJrCEg_9Fo4/s1682/1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="939" data-original-width="1682" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8K1x5nhAYvi2tAOkjvJ8Cu0Spo2VLXjbxBIEAPrkSSk66BEq86hnHO2b8ZDoPSVYZd45KF3QCrtLVRWXFvVqICXQV9c2nmtVPsSp15N3owL6_An8tTDHTQhnNE7J3r3gAJZJrCEg_9Fo4/w640-h358/1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download <b>Liferay 7.4 CE tomcat bundle</b> from
above download page.</span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are going start two instances, so we have to
extract the bundle two different directories.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract the 7z file rename directory name to “<b>liferay-ce-portal-7.4.1-ga2-node1</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract one more time and rename directory to “<b>liferay-ce-portal-7.4.1-ga2-node2</b>”<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfytYzS68oYOx-km9_algPXSzI2XjVsewsNrjEp2rRBv5nogn7eklHHe2w8LeNJbpr1VkpXAgYH_1SPUn51YnLsHV-v-4mJZRabqgo3gToAzzyWgJLtBD8hU4Yj-9NRHfpYbcMU2lvCXvT/s1151/2.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="385" data-original-width="1151" height="214" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfytYzS68oYOx-km9_algPXSzI2XjVsewsNrjEp2rRBv5nogn7eklHHe2w8LeNJbpr1VkpXAgYH_1SPUn51YnLsHV-v-4mJZRabqgo3gToAzzyWgJLtBD8hU4Yj-9NRHfpYbcMU2lvCXvT/w640-h214/2.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Modify Liferay tomcat server configuration<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">It’s required to change <b>http connector port, Server
port, Redirect ports and AJP connector port</b> in tomcat <b>server.xml</b>
file as we are running both instances in same machine. In the real-world case,
we run only portal server instance per machine most of the times.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node1 Configuration<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Server.xml<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open Liferay portal <b>node1 server.xml</b> file and
update ports.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnlfpmFfEEu1UGnpD0Hp6eXhbhHAaq0UjLF_hU-U0KXJqs6P4IXypIyt-peg2bZ_BpsuTkfDnm2xaMIe6jDZpMHk2eE7wMT3d2I7m2nZxn7DmDJ9t6zuNj8JgZyPrQfW9k6p8Mt1VKyxy6/s1117/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="575" data-original-width="1117" height="330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnlfpmFfEEu1UGnpD0Hp6eXhbhHAaq0UjLF_hU-U0KXJqs6P4IXypIyt-peg2bZ_BpsuTkfDnm2xaMIe6jDZpMHk2eE7wMT3d2I7m2nZxn7DmDJ9t6zuNj8JgZyPrQfW9k6p8Mt1VKyxy6/w640-h330/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Server port<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOLbfB37zM6d0CTPFfAcx9-i5zLl9emQJ-yj37ohGvqdqwylPlzTUBnMElFBRBeNOyErt9B57z2zhoT7mbmEAwQ7l8j1jOR-1XYV6yVxXT_mAUArHn1dGcazOMoWWgI8tFVq-0DBPDDJHj/s1003/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="110" data-original-width="1003" height="70" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOLbfB37zM6d0CTPFfAcx9-i5zLl9emQJ-yj37ohGvqdqwylPlzTUBnMElFBRBeNOyErt9B57z2zhoT7mbmEAwQ7l8j1jOR-1XYV6yVxXT_mAUArHn1dGcazOMoWWgI8tFVq-0DBPDDJHj/w640-h70/6.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Server
port="8006" shutdown="SHUTDOWN"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Http connector<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFyUYiRbCEnwZkw8xP5gGgCnjaXEgC-kqCUyvepsOTOCF_Fugb-o1kHqbViuKr__bbMvXghRzi1ZhbS7Re4FblV3TJ7GdV72uge_BzNz5Pr0NyiJz88gITIBs8sz2h7v6SYAv4PYzMhyphenhyphenx3/s1017/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="230" data-original-width="1017" height="144" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFyUYiRbCEnwZkw8xP5gGgCnjaXEgC-kqCUyvepsOTOCF_Fugb-o1kHqbViuKr__bbMvXghRzi1ZhbS7Re4FblV3TJ7GdV72uge_BzNz5Pr0NyiJz88gITIBs8sz2h7v6SYAv4PYzMhyphenhyphenx3/w640-h144/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Connector
port="8090" protocol="HTTP/1.1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;">
</span>connectionTimeout="20000"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;">
</span>redirectPort="8443" URIEncoding="UTF-8" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">AJP Connector<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCivRiz9FcFr0DUQP5VKxy_XHZmTBCLQAhjdVoz3KUWo7v3ldRn2X14-A0uxg7crM-3YhM9qzhrSEId5ruZPLQlW_oLOM0Dk_em6w7IqjVuqH7Er800l3U2GCuM8e0fxpO3FZOgAQmrC08/s1037/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="171" data-original-width="1037" height="106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCivRiz9FcFr0DUQP5VKxy_XHZmTBCLQAhjdVoz3KUWo7v3ldRn2X14-A0uxg7crM-3YhM9qzhrSEId5ruZPLQlW_oLOM0Dk_em6w7IqjVuqH7Er800l3U2GCuM8e0fxpO3FZOgAQmrC08/w640-h106/4.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><!-- Define
an AJP 1.3 Connector on port 8009 --><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Connector
protocol="AJP/1.3"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>address="0.0.0.0"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>port="8009"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>redirectPort="8443"
URIEncoding="UTF-8" secretRequired="false"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update “<b>jvmRoute</b>” value in server.xml and it
should be unique value.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzLHyuFGflSW2PZ-QQrj6TJHOay4EnzDHCKkxnyLGTTRiJwlEf1hayfhXQrAy3-8FAjsfITY4h-DbOOJSw7BwLYtACDSd6LsaFp38R6JfokMtt5lCrlGiOXnJCL0cyI1AqBUA0IywVegEg/s987/6.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="121" data-original-width="987" height="78" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzLHyuFGflSW2PZ-QQrj6TJHOay4EnzDHCKkxnyLGTTRiJwlEf1hayfhXQrAy3-8FAjsfITY4h-DbOOJSw7BwLYtACDSd6LsaFp38R6JfokMtt5lCrlGiOXnJCL0cyI1AqBUA0IywVegEg/w640-h78/6.1.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Context.xml<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update <b>Node1</b> <b>conext.xml</b> file and add “<b>sessionCookieName</b>”
for context. This will distinguish node values when you access in browser. We can
identify which node request is serving. Default value is JSESSIONID but I have
changed to <b>LRSESSIONID</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnYPY0rsTcaglDGirl8BEKos3OxJWqKI_L7XBVYF7AUdWaE0ivjm8lyZO9uDyXPLaw88Unnl7GeaOoj4jXqgl6DJJMMrQhu0Hza8k__IDXsdsVzytyytVG6929WFVVfEMxkD4ZJgQImI13/s1061/13.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="489" data-original-width="1061" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnYPY0rsTcaglDGirl8BEKos3OxJWqKI_L7XBVYF7AUdWaE0ivjm8lyZO9uDyXPLaw88Unnl7GeaOoj4jXqgl6DJJMMrQhu0Hza8k__IDXsdsVzytyytVG6929WFVVfEMxkD4ZJgQImI13/w640-h294/13.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7hbQmh6spvxHiwDKHcndDs8b2utSWhBdcV4I_F0KMs9LGdV1rDkDhRsE5miT1ibpRYV7tELTWLmZjdAXZJ9I8U4YIgCwt8LUQufSyNzlsFDdlADHFCV7qRuK4v_OUxz0hk4Maw4g68lIJ/s1138/14.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="387" data-original-width="1138" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7hbQmh6spvxHiwDKHcndDs8b2utSWhBdcV4I_F0KMs9LGdV1rDkDhRsE5miT1ibpRYV7tELTWLmZjdAXZJ9I8U4YIgCwt8LUQufSyNzlsFDdlADHFCV7qRuK4v_OUxz0hk4Maw4g68lIJ/w640-h218/14.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">liferay-ce-portal-7.4.1-ga2-node1<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">AJP port: 8009<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">HTTP Port: <b>8090</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Server Port:
<b>8006</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Redirect Port: <b>8443</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">jvmRoute: <b>liferay-node1</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">sessionCookieName<b>:
LRSESSIONID</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></i></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node2 Configuration<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Server.xml<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open Liferay portal <b>node2 server.xml</b> file and
update ports.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWQKCLTk0RYSXmpwV5N5YSZ3vJ1zxqaioA6Vtv0tVfjPFlyn-kyNFx5KmTuKTLAPoXSLQtx-m5dgdixIASslyUiuPvGelD4s6cTrRKFLPSFuvnjmpsrWg3gG0_YNyr4-p5xAhD7t2d3V50/s1139/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="515" data-original-width="1139" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWQKCLTk0RYSXmpwV5N5YSZ3vJ1zxqaioA6Vtv0tVfjPFlyn-kyNFx5KmTuKTLAPoXSLQtx-m5dgdixIASslyUiuPvGelD4s6cTrRKFLPSFuvnjmpsrWg3gG0_YNyr4-p5xAhD7t2d3V50/w640-h290/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Server port<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEcELSu0Zecbj5drCxJthzrAtmQzO_Yy5GrV37Z8Bp1BDpdJAk4ez3OYg6pDXqI3b-2yELWc2mTnVHG_87t54p-lud3axp8CVqVSRvlcnma_ppJYvHLoFC_bBiwEXfcccp3G6HzRzOtTiZ/s783/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="101" data-original-width="783" height="82" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEcELSu0Zecbj5drCxJthzrAtmQzO_Yy5GrV37Z8Bp1BDpdJAk4ez3OYg6pDXqI3b-2yELWc2mTnVHG_87t54p-lud3axp8CVqVSRvlcnma_ppJYvHLoFC_bBiwEXfcccp3G6HzRzOtTiZ/w640-h82/8.JPG" width="640" /></a></div><div><br /></div><br /><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Server
port="8005" shutdown="SHUTDOWN"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Http connector<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KmIi_oWweBRCEQeGzRwPgCNdHZuMkAHXraePgt9PNa6xwOGlH-h4tpm4ZMm10zJsDQXNtaq3xEEzm0IY2C5CDlw-c9zYxMTb5j_10QzQXCOA841VeaQnxII_ETLIuDYw8v149ZAwhXvo/s1168/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="1168" height="130" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_KmIi_oWweBRCEQeGzRwPgCNdHZuMkAHXraePgt9PNa6xwOGlH-h4tpm4ZMm10zJsDQXNtaq3xEEzm0IY2C5CDlw-c9zYxMTb5j_10QzQXCOA841VeaQnxII_ETLIuDYw8v149ZAwhXvo/w640-h130/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<br /><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><Connector
port="8091" protocol="HTTP/1.1"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;">
</span>connectionTimeout="20000"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;">
</span>redirectPort="7443" URIEncoding="UTF-8" /><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">AJP Connector<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC5dygowyqzxo7LbbJT_bvtNONbnOfxB1XN0RIWqqJxhcjDibynvlkonuQeZpDgYkLIkduVy3GtjqeBzGUz_W8X9FFQtc43MPMPQ4RfNtX4myK0CeDgYOhR_VTtSZkDAS8T1ERwyqltgmB/s947/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="178" data-original-width="947" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC5dygowyqzxo7LbbJT_bvtNONbnOfxB1XN0RIWqqJxhcjDibynvlkonuQeZpDgYkLIkduVy3GtjqeBzGUz_W8X9FFQtc43MPMPQ4RfNtX4myK0CeDgYOhR_VTtSZkDAS8T1ERwyqltgmB/w640-h120/10.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><!-- Define
an AJP 1.3 Connector on port 7009 --><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span><Connector
protocol="AJP/1.3"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>address="0.0.0.0"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>port="7009"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>redirectPort="7443"
URIEncoding="UTF-8" secretRequired="false"/><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update “<b>jvmRoute</b>” value in Node2 <b>server.xml</b> and it
should be unique value.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrXSBKg5NT3Gm7udgfsrXjwWEsaM8v9jZS6to6NZFYjwtRLew9fAdHkJlVcLACeT-szKxf-hIL8RCg-2g_RumGw4ShVuOX2PAJWSC9K4E-LzhT3U7wi0NbC_W9JETwo-mou0qsjLkDoLYZ/s1031/10.1.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="122" data-original-width="1031" height="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrXSBKg5NT3Gm7udgfsrXjwWEsaM8v9jZS6to6NZFYjwtRLew9fAdHkJlVcLACeT-szKxf-hIL8RCg-2g_RumGw4ShVuOX2PAJWSC9K4E-LzhT3U7wi0NbC_W9JETwo-mou0qsjLkDoLYZ/w640-h76/10.1.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Context.xml<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update <b>Node2 conext.xml</b> file and add “<b>sessionCookieName</b>”
for context. This will distinguish node values when you access in browser. We can
identify which node request is serving. Default value is JSESSIONID but I have
changed to <b>LRSESSIONID</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz7xjIdoHFoKowPesHf5SGcls_J5C_iiXojGUd5xJCVY8QMig4IhD-djq6JwIjtUDzipWfyoB9rIXfMgJx9JN0EWhNXz1SavnHo8OICgjzInkhMYx5O23UP75hoHjtxe9yM6yblrP07-Kk/s1239/15.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="590" data-original-width="1239" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz7xjIdoHFoKowPesHf5SGcls_J5C_iiXojGUd5xJCVY8QMig4IhD-djq6JwIjtUDzipWfyoB9rIXfMgJx9JN0EWhNXz1SavnHo8OICgjzInkhMYx5O23UP75hoHjtxe9yM6yblrP07-Kk/w640-h304/15.JPG" width="640" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><br /><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO1hc54wqXjsgWFjdoLIlmv_2AQ8VqzHjEEoeW0afmjMACuW8OCXFVoyK8PG5m1y6gPDH3CE2wsz7ba6-pqiwKITw-kxzbdAHHdo9dI3G2acDiR-s-MkqwrHSLvs8SMBabo5eSfi4m2FBj/s1138/14.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="387" data-original-width="1138" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO1hc54wqXjsgWFjdoLIlmv_2AQ8VqzHjEEoeW0afmjMACuW8OCXFVoyK8PG5m1y6gPDH3CE2wsz7ba6-pqiwKITw-kxzbdAHHdo9dI3G2acDiR-s-MkqwrHSLvs8SMBabo5eSfi4m2FBj/w640-h218/14.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">liferay-ce-portal-7.4.1-ga2-node2<o:p></o:p></span></u></i></b></p><p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></i></b></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">AJP port: <b>7009</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">HTTP Port: <b>8091</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Server Port: <b>8005</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Redirect Port: <b>7443</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">jvmRoute: <b>liferay-node2<o:p></o:p></b></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">sessionCookieName<b>:
LRSESSIONID</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Configure mod_jk and worker properties<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Apache used the <b>mod_jk</b> module to connect with tomcat
server through AJP ports.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its required to create <b>worker.properties</b> file
in the apache configuration and need to defined two workers. We are running two
tomcat servers so its required two worker properties. We use the mod_jk load balancer
to traffic requests between two tomcat servers.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create <b>worker.properties</b> file in Apache conf
directory.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJjHn0KXVfA5zJLgpg8DVa07KevUhKNHCYG4ivvEDKnrRCByDpLHtFh9l-p9dbi4S92C5MEiUlqW1EMdX4jH9eymrg_zUbFiLVAhCvbPQEbd5UuuVx9oUweTeKygescjz8CmhaFAcCOJ7p/s1171/11.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="583" data-original-width="1171" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJjHn0KXVfA5zJLgpg8DVa07KevUhKNHCYG4ivvEDKnrRCByDpLHtFh9l-p9dbi4S92C5MEiUlqW1EMdX4jH9eymrg_zUbFiLVAhCvbPQEbd5UuuVx9oUweTeKygescjz8CmhaFAcCOJ7p/w640-h318/11.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Add following worker properties in <b>worker.properties</b>
file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">#Define the list
of workers you have<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.list=jkstatus,<b>loadbalancer</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Set
LOADBALANCER<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>loadbalancer</b>.type=<b>lb</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.jkstatus.type=status<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># List Liferay
Tomcat Server's in the cluster<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>loadbalancer</b>.balance_workers=<b>liferay-node1</b>,<b>liferay-node2</b><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>loadbalancer</b>.sticky_session=1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Set Worker<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Liferay Portal
Server Node1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node1</b>.port=8009<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node1</b>.host=localhost<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node1</b>.type=ajp13<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node1</b>.lbfactor=1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># Liferay Portal
Server Node2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node2</b>.port=7009<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node2</b>.host=localhost<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node2</b>.type=ajp13<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">worker.<b>liferay-node2</b>.lbfactor=1<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We have defined two workers “<b>liferay-node1</b> and <b>liferay-node2</b>”
and these names should match with “<b>jvmroute</b>” attribute value in <b>tomcat
server.xml</b> file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Ports should match with <b>AJP port</b> value in <b>tomcat
server.xml</b> and host name are server host names in our case its <b>localhost</b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><br /></b></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">sticky_session value 1</span></b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">
make sure its always go to same node when application need session management.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Update <b>mod_jk </b>configuration in Apache. We
already enabled mod_jk module and open <b>mod_jk.conf</b> and update with below
configuration.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBDgeCfZNaPOPIWQb7qjRQKvmOdLtX7HWsluXITjcTnLR72wiA6vRELFoqK16AKoEe96tPsds3s47yUjmflyMUrr8ioSJ95rwp-XfJ6kpkZCXdN8JycXDiTte9aehKcm0Dxz292q2Ik1_i/s1091/12.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="615" data-original-width="1091" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBDgeCfZNaPOPIWQb7qjRQKvmOdLtX7HWsluXITjcTnLR72wiA6vRELFoqK16AKoEe96tPsds3s47yUjmflyMUrr8ioSJ95rwp-XfJ6kpkZCXdN8JycXDiTte9aehKcm0Dxz292q2Ik1_i/w640-h360/12.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Mod_jk.conf configuration<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Its required to load <b>worker.properites</b> and <b>JkMount
/*</b> value should match with “<b>worker.list</b>” value “<b>loadbalancer</b>”
in worker.properties.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">LoadModule
jk_module "${SRVROOT}/modules/mod_jk.so"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><IfModule
jk_module><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkWorkersFile
${SRVROOT}/conf/workers.properties<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogFile
"${SRVROOT}/logs/mod_jk.log<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogStampFormat "[%b %d %Y -
%H:%M:%S] "<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkRequestLogFormat "%w %V %T"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogLevel info<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkOptions +ForwardKeySize
+ForwardURICompat -ForwardDirectories<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkMount /* loadbalancer<o:p></o:p></span></b></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"></IfModule><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify Integration<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Apache Server<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open window command prompt locates to <b>Apache24</b>
bin directory and run <b>httpd.exe</b><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxw5z9tVrKqdtp5jISJEO9x-D7frfqD0vPVGyogiwNUyIwZl7vJh_eDUtY2IP1MI_LIuhyphenhyphenPyZ2B3NuYPNKm9UnELYXXCbS7G1FsohHb-zpcqhxWzEVzrVzos_zIjR_XoZFbs-3U2C8l3MB/s1108/3.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="656" data-original-width="1108" height="378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxw5z9tVrKqdtp5jISJEO9x-D7frfqD0vPVGyogiwNUyIwZl7vJh_eDUtY2IP1MI_LIuhyphenhyphenPyZ2B3NuYPNKm9UnELYXXCbS7G1FsohHb-zpcqhxWzEVzrVzos_zIjR_XoZFbs-3U2C8l3MB/w640-h378/3.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Liferay Portal Servers<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open command prompt locates the Liferay Portal tomcat
bin directory and run startup.bat and it will launch server console.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node1 Startup<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">C:\Liferay\Liferay74\<b>liferay-ce-portal-7.4.1-ga2-node1</b>\tomcat-9.0.43\bin>startup.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Liferay Node2 Startup<o:p></o:p></span></u></i></b></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">C:\Liferay\Liferay74\<b>liferay-ce-portal-7.4.1-ga2-node2</b>\tomcat-9.0.43\bin>startup.bat<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj66flWhw2eJ__atSNY1QHwj7o6cVKheytsjlWQ7slswOvX0YaUcuMg5rzsMVR_RJ3r9v7nzubNPVoitpNUba3HQXDsdef42Ii061tva8fH42dT2vSmaskmKdni_Qdnpmkl6eP-C2Htxith/s1935/16.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1054" data-original-width="1935" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj66flWhw2eJ__atSNY1QHwj7o6cVKheytsjlWQ7slswOvX0YaUcuMg5rzsMVR_RJ3r9v7nzubNPVoitpNUba3HQXDsdef42Ii061tva8fH42dT2vSmaskmKdni_Qdnpmkl6eP-C2Htxith/w640-h348/16.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access below URL and make sure Liferay Portal Node1
started successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost:8090/" target="_blank">http://localhost:8090/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access below URL and make sure Liferay Portal Node2
started successfully.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost:8091/" target="_blank">http://localhost:8091/</a><o:p></o:p></span></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Access Liferay portal with below URLs in browser and
LRSESSIONID specify the node name. Browser inspect element can see the LRSESSIONID.
If we observer the URL does not have port number so it confirms that configuration is working as expected.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost/;LRSESSIONID=abc.liferay-node1" target="_blank">http://localhost/;LRSESSIONID=abc.liferay-node1</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtk39DgjpVgzB9XvaJPFOinUrXJGRDAkUHb0J6-ClSJoEXAZcEo8iSr-Kf6ng0CKSPdAGgnBSy9nIsXKXfTuMu4yUlffZt811cU91zaSoSPF2DFI0kjrd5u-RqTE21oF5hOmOyzgOZXFCR/s1637/17.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1017" data-original-width="1637" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtk39DgjpVgzB9XvaJPFOinUrXJGRDAkUHb0J6-ClSJoEXAZcEo8iSr-Kf6ng0CKSPdAGgnBSy9nIsXKXfTuMu4yUlffZt811cU91zaSoSPF2DFI0kjrd5u-RqTE21oF5hOmOyzgOZXFCR/w640-h398/17.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost/;LRSESSIONID=abc.liferay-node2" target="_blank">http://localhost/;LRSESSIONID=abc.liferay-node2</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoyat3AHmZQkHte8vSqtef4gh_wFAZtb6L3dkyECM6LcIv0pTR0L7PUysvvuSJWKYfG7Twiqm_D_SJwtYGawanSJBPQw8C9OElvMxhaWDPB8B94ujaR7187Uj1HgSDOMqi4swnXNnJaol8/s1658/18.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="953" data-original-width="1658" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoyat3AHmZQkHte8vSqtef4gh_wFAZtb6L3dkyECM6LcIv0pTR0L7PUysvvuSJWKYfG7Twiqm_D_SJwtYGawanSJBPQw8C9OElvMxhaWDPB8B94ujaR7187Uj1HgSDOMqi4swnXNnJaol8/w640-h368/18.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">References<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="https://tomcat.apache.org/connectors-doc-archive/jk2/jk/workershowto.html" target="_blank">https://tomcat.apache.org/connectors-doc-archive/jk2/jk/workershowto.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Notes<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">When you access portal first time it will ask you to
complete basic configuration and follow the steps.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Objective of this article showing mod_jk connecting to
Liferay portal servers and each instance start with default HSQL database.
Ideally all instances should connect with same database. <o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">We are running two Liferay Portal instances same machine
so we may see embedded elastic server port issue in one of the instance logs. Ideally,
we will use remote elastic search instead of embedded elastic search.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Static content is still serving from Portal Tomcat
server but real work application all static content is serving from Apache
webserver.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">There are many mod_jk properties existed and refer
apache or tomcat documentations for more information.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "Times New Roman", serif; font-size: 14pt; font-style: inherit; font-weight: inherit; line-height: 19.9733px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2tag:blogger.com,1999:blog-4305105234376370815.post-79819120444098650382021-07-04T04:15:00.004+05:302021-07-04T22:39:49.731+05:30Enable mod_jk module in Apache Webserver<p><span style="font-family: "Times New Roman", serif; font-size: 14pt;">Apache </span><b style="font-family: "Times New Roman", serif; font-size: 14pt;">mod_jk</b><span style="font-family: "Times New Roman", serif; font-size: 14pt;"> module uses for communication between
Apache webserver and tomcat application server.</span></p><p><span style="font-family: "Times New Roman", serif; font-size: 14pt;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Most of the real-world applications are multi-tier applications
and application server always behind the web servers. It will improve
application performance and better way of handle load balance between
application servers.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Generally, all static content requests serve by webserver
and if any dynamic request, then only it will go to application servers such a
way it will improve application performance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">OS: Windows 10<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Webserver: Apache2.4<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Pre-Requisite <o:p></o:p></span></u></b></p>
<p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b>Install Apache server </b><o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><b><br /></b></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://www.liferaysavvy.com/2021/07/install-apache-webserver-in-windows.html" target="_blank">http://www.liferaysavvy.com/2021/07/install-apache-webserver-in-windows.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download mod_jk module<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Apache is providing tomcat connectors that is <b>mod_jk</b>
from following website. Download binary version of <b>mod_jk</b> module. We can
also build <b>mod_jk</b> from source. All apache modules have extension <b>*.so</b>.
Apache Haus is also proving binary version of apache modules.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/">http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCbVAd7kEmOMkRnsBVs69dvLF30Gcd3DiqzRVV7lOnOJy_8EgUo4UH1jtbXh5ilH00yqsARxImaSZ8QDCwwWq-B5h7j9V4lX-1j__8SogiJW2AADK1xUuWZL9YHbSKkCuVllawiax17QfH/s1160/5.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="864" data-original-width="1160" height="476" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCbVAd7kEmOMkRnsBVs69dvLF30Gcd3DiqzRVV7lOnOJy_8EgUo4UH1jtbXh5ilH00yqsARxImaSZ8QDCwwWq-B5h7j9V4lX-1j__8SogiJW2AADK1xUuWZL9YHbSKkCuVllawiax17QfH/w640-h476/5.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Download “<b>tomcat-connectors-1.2.40-windows-x86_64-httpd-2.4.x.zip</b>”
from above download page or use direct link below.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.40-windows-x86_64-httpd-2.4.x.zip" target="_blank">http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/windows/tomcat-connectors-1.2.40-windows-x86_64-httpd-2.4.x.zip</a><o:p></o:p></span></p><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Extract “<b>tomcat-connectors-1.2.40-windows-x86_64-httpd-2.4.x.zip</b>”
it contains “<b>mod_jk.so</b>” file.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG_2m_KnIZEMb0vMMRYnG4Hq-kHA2ghiScwvypIVi1um3WOPV-TitlZoDzRbrYIhO68v2MA0wP2mJlZGNAzkiyK8pO11-mQHhz0tjx74YjEV0cb3XsZjC6FrF_Zz68cH4DIv5W3u6tuUc/s934/6.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="450" data-original-width="934" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG_2m_KnIZEMb0vMMRYnG4Hq-kHA2ghiScwvypIVi1um3WOPV-TitlZoDzRbrYIhO68v2MA0wP2mJlZGNAzkiyK8pO11-mQHhz0tjx74YjEV0cb3XsZjC6FrF_Zz68cH4DIv5W3u6tuUc/w640-h308/6.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Copy “<b>mod_jk.so</b>” file to Apache24 module
directory<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzEum7at4-GrYTm_IwITuVHWANRCYv0_OFKX1-73oLTa9i-W5t9lVQsxTma8u4ASYdUxFwHs2S-McvdWWeqyzA2mO794buUbiY4CdSX_T2nhqDHL21m32zUrrFceRHNcbc_YldsM2Lwbcs/s941/7.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="643" data-original-width="941" height="438" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzEum7at4-GrYTm_IwITuVHWANRCYv0_OFKX1-73oLTa9i-W5t9lVQsxTma8u4ASYdUxFwHs2S-McvdWWeqyzA2mO794buUbiY4CdSX_T2nhqDHL21m32zUrrFceRHNcbc_YldsM2Lwbcs/w640-h438/7.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Load Module<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><span style="text-decoration: none;"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Create <b>mod_jk</b> configuration file in apache conf
extra directory “<b>C:\Apache2441\conf\extra</b>” and add load module
configurations as follows. Configuration also covered log location and its format.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">LoadModule
jk_module "${SRVROOT}/modules/mod_jk.so"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><IfModule
jk_module><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogFile ${SRVROOT}/logs/mod_jk.log<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogStampFormat "[%b %d %Y -
%H:%M:%S] "<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkRequestLogFormat "%w %V %T"<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkLogLevel info<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><span style="mso-spacerun: yes;"> </span>JkOptions +ForwardKeySize
+ForwardURICompat -ForwardDirectories<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"></IfModule><o:p></o:p></span></p><p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><br /></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8OZAMoH-ZMOj-CUhcIxKIZSCXbGEafQ4W8Ks29vOkolOix9lgut9-8Kb2sjRNYEwl48qL474KWZI_5gXRdCdF6L05WqmWzjcON1Wnw3_Mn88q8CBm3ztTdRIrksChzyCVEnp7jKUnui_3/s916/8.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="606" data-original-width="916" height="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8OZAMoH-ZMOj-CUhcIxKIZSCXbGEafQ4W8Ks29vOkolOix9lgut9-8Kb2sjRNYEwl48qL474KWZI_5gXRdCdF6L05WqmWzjcON1Wnw3_Mn88q8CBm3ztTdRIrksChzyCVEnp7jKUnui_3/w640-h424/8.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Include “mod_jk” configuration in
httpd.conf <o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Open “<b>httpd.conf</b>” file in the apache conf
directory and include “<b>mod_jk</b>” configuration as follows.<o:p></o:p></span></p>
<p class="MsoNormal"><br /></p><p class="MsoNormal"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodPvM8FOq9rNZSdM5crecdQTQFABjpBJpcNZMEHrHtxp1jBetYpNYJuQY4kqEqAOYpSLHg7IJBo9znNrKNtjZfELLsaR0ilffvlWglj9SbZW7oK3c0P6or2SYNb7R_dCTXzwXU2TdIixV/s870/9.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="456" data-original-width="870" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodPvM8FOq9rNZSdM5crecdQTQFABjpBJpcNZMEHrHtxp1jBetYpNYJuQY4kqEqAOYpSLHg7IJBo9znNrKNtjZfELLsaR0ilffvlWglj9SbZW7oK3c0P6or2SYNb7R_dCTXzwXU2TdIixV/w640-h336/9.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; mso-border-alt: solid windowtext .5pt; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"># mod_jk
configurations<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;">Include
conf/extra/mod_jk.conf<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0in;"><span style="font-family: "Times New Roman",serif; font-size: 14pt;"><o:p> </o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Start Apache<o:p></o:p></span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once enabled the <b>mod_jk</b> module, <b>start/restart</b>
server. Access default page in browser.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><a href="http://localhost/">http://localhost/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p><br /></o:p></span></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBDW1NmdFJfn5lq8EmLc7pMueFkVxc2hNz14HFruu4Wt4zQandL2LeSxafgpMLJ1u4Puia81AJDhWVl5fzpwlPg_0S7v-KtsWkOMiDafBs9ISiNfF7ltFQ0Ho-mmE3Gf1HB5ZFc5lwc-5W/s1767/4.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="984" data-original-width="1767" height="356" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBDW1NmdFJfn5lq8EmLc7pMueFkVxc2hNz14HFruu4Wt4zQandL2LeSxafgpMLJ1u4Puia81AJDhWVl5fzpwlPg_0S7v-KtsWkOMiDafBs9ISiNfF7ltFQ0Ho-mmE3Gf1HB5ZFc5lwc-5W/w640-h356/4.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Verify mod_jk loading</span></u></b></p><p class="MsoNormal"><b><u><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></u></b></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">Once apache is started successfully you can see mod_jk.log
file in the apache logs directory. If you open the logs we can see below
message for successful loading of module or we can see error information.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;">mod_jk/1.2.40 initialized<o:p></o:p></span></b></p><p class="MsoNormal"><b><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><br /></span></b></p>
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__dVdM9IBeX8H0NcJ6ogfXoFVZp66Ymh_B8vd3rneB0yUgAyUemCpvDX1Ym7CDHBLS7UZBLpqYjRmnoKsOTAnartR7f_LJXAHgADM8TRhFBgx7ZehxLlynw4xCTAAn_e8J2Vp6P2f68qT/s1522/10.JPG" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="688" data-original-width="1522" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg__dVdM9IBeX8H0NcJ6ogfXoFVZp66Ymh_B8vd3rneB0yUgAyUemCpvDX1Ym7CDHBLS7UZBLpqYjRmnoKsOTAnartR7f_LJXAHgADM8TRhFBgx7ZehxLlynw4xCTAAn_e8J2Vp6P2f68qT/w640-h290/10.JPG" width="640" /></a></div><br /><p class="MsoNormal"><br /></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Author</span></b><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><u1:p style="box-sizing: border-box;"></u1:p></span><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></div><div class="MsoNormal" style="background-color: white; border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p></o:p></span></p><div align="center" class="MsoNormal" style="background: rgb(255, 255, 255); border: 0px; box-sizing: border-box; color: #404040; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-size: 16px; line-height: 21.4pt; margin: 0px; outline: 0px; padding: 0px; text-align: -webkit-center; vertical-align: baseline;"><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.linkedin.com/in/liferaysavvy" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;">Meera Prince</b></span></span></a><span style="border: 0px; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></span></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://web.liferay.com/web/javeedchida/blog/-/blogs/my-27th-of-september-at-lsna2016" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2016</span></span></b></a><span style="border: 1pt none; box-sizing: border-box; font-family: garamond, baskerville, "baskerville old face", "hoefler text", "times new roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><br style="box-sizing: border-box;" /><span style="border: 0px; box-sizing: border-box; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"></a></span><a href="https://dev.liferay.com/participate/contributors" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></b><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2015</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferay.com/web/james.falkner/blog/-/blogs/2014-liferay-community-pulse-awards" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Contributor of the Year 2014</span></span></b></a><o:p style="box-sizing: border-box;"></o:p></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://www.liferay.com/community/special-projects/top-contributor-awards-2013" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">Liferay Top Contributor Award Winner</span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; color: #1958eb; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"> </span></span></span><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;">2013</span></span></span></b></a></span></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><b style="box-sizing: border-box;"><span style="border: 0px; box-sizing: border-box; font-family: garamond, serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.liferaysavvy.com/" style="border: 0px; box-sizing: border-box; color: #32a7db; font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_blank"><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">http://www.liferaysavvy.com</span></span></a></span><span style="border: 1pt none; box-sizing: border-box; font-size: 13pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0cm; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> </span></span></b></div><div align="center" class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; line-height: 18pt; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><o:p style="box-sizing: border-box;"></o:p></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span lang="EN-US" style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 13pt; font-style: inherit; font-weight: inherit; line-height: 18.5467px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="MsoNormal" style="border: 0px; box-sizing: border-box; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: "times new roman", serif; font-size: 12pt; font-style: inherit; font-weight: inherit; line-height: 17.12px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div><div class="separator" style="border: 0px; box-sizing: border-box; clear: both; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s1600/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; color: #32a7db; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: 0px; padding: 0px; text-decoration-line: none; vertical-align: baseline;"><img border="0" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbzquIx6jMx86vpDjQIE-pOul2MehehGcb2KsuzOgj58LuN_V2YfebzKHkEYrRdT_I1GPJdkJxCwpYjXlUP4QuHg47of5p6HBZ-dvOU6Ft2r_E3jSxnimz90tYl9JW4rhcqHM0th7R_gxG/s200/Certified-Pro-Dev-LP-6.2-Horizontal.png" style="border: 0px; box-sizing: border-box; height: auto; max-width: 100%;" width="200" /></a></div></div>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family: "Times New Roman",serif; font-size: 14pt; line-height: 107%;"><o:p> </o:p></span></p>Meera Princehttp://www.blogger.com/profile/17829421510214827989noreply@blogger.com2