This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Producer | |
Setup | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1 | |
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3 | |
Single thread, no replication | |
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
To use this file, save it to a JS file and include it (<script src=) or | |
wrap it in <script type="text/javascript"> </script> tags on the page you are embedding the code on. | |
1) When you craft the script tag for including the gist assign it a class="embed-gist" | |
2) Give a file parameter, this is the name of the file, this is something absolutely necessary, | |
needs to be the first parameter (before lines) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Component which overrides the default JSF Message renderer by Bootstrap alert design. | |
faces-config.xml: | |
<render-kit> | |
<renderer> | |
<component-family>javax.faces.Messages</component-family> | |
<renderer-type>javax.faces.Messages</renderer-type> | |
<renderer-class>com.example.yourpackage.BootstrapMessagesRenderer</renderer-class> | |
</renderer> |