Class KafkaClusterTest


  • public class KafkaClusterTest
    extends Object
    Author:
    Randall Hauch
    • Field Detail

      • skipTestRule

        public org.junit.rules.TestRule skipTestRule
      • dataDir

        private File dataDir
    • Constructor Detail

      • KafkaClusterTest

        public KafkaClusterTest()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • afterEach

        public void afterEach()
      • shouldStartClusterWithOneBrokerAndRemoveData

        public void shouldStartClusterWithOneBrokerAndRemoveData()
                                                          throws Exception
        Throws:
        Exception
      • shouldStartClusterWithMultipleBrokerAndRemoveData

        public void shouldStartClusterWithMultipleBrokerAndRemoveData()
                                                               throws Exception
        Throws:
        Exception
      • shouldStartClusterWithOneBrokerAndLeaveData

        public void shouldStartClusterWithOneBrokerAndLeaveData()
                                                         throws Exception
        Throws:
        Exception
      • shouldStartClusterWithMultipleBrokerAndLeaveData

        public void shouldStartClusterWithMultipleBrokerAndLeaveData()
                                                              throws Exception
        Throws:
        Exception
      • shouldStartClusterAndAllowProducersAndConsumersToUseIt

        public void shouldStartClusterAndAllowProducersAndConsumersToUseIt()
                                                                    throws Exception
        Throws:
        Exception
      • shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt

        public void shouldStartClusterAndAllowInteractiveProductionAndAutomaticConsumersToUseIt()
                                                                                         throws Exception
        Throws:
        Exception
      • shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt

        public void shouldStartClusterAndAllowAsynchronousProductionAndAutomaticConsumersToUseIt()
                                                                                          throws Exception
        Throws:
        Exception
      • shouldSetClusterConfigProperty

        public void shouldSetClusterConfigProperty()
                                            throws Exception
        Throws:
        Exception
      • shouldSetServerConfigProperty

        public void shouldSetServerConfigProperty()
                                           throws Exception
        Throws:
        Exception
      • assertValidDataDirectory

        protected void assertValidDataDirectory​(File dir)
      • assertDoesNotExist

        protected void assertDoesNotExist​(File dir)