public static UUID createUuid(String input) {
    if (input == null) {
      return UUID.randomUUID();
    }
    return UUID.nameUUIDFromBytes(input.getBytes(StandardCharsets.UTF_8));
  }
@Test
  public void testCreateUuid() {
    String expected = "7b92bd31-8478-35db-bb77-dfdb3d7260fc";
    Assert.assertEquals(expected, IdHelper.createUuid("test-uuid1").toString());
    expected = "1e98c90b-0adf-3429-9a53-c8620d70fb5d";
    Assert.assertEquals(expected, IdHelper.createUuid("test-uuid2").toString());
  }