private static String randomText(final Random random, final int avgLength) {
            final int lowChar = 97; // letter 'a'
            final int highChar = 122; // letter 'z'

            final int length = Math.max(0, (int) (random.nextGaussian() * avgLength / 3.0) + avgLength);
            final char[] chars = new char[length];
            for (int i = 0; i < chars.length; i++) {
                chars[i] = (char) (random.nextInt(highChar - lowChar) + lowChar);
            }
            return new String(chars);
        }
Rough-and-ready random text generator. Creates a text with a length normally
distributed about {@code avgLength} with a standard deviation of 1/3rd {@code avgLength}.
Each letter is drawn uniformly from a-z.
streams/src/test/java/org/apache/kafka/streams/tests/RelationalSmokeTest.java