public static Serializer getDefault() {
        return SERIALIZER_MAP.get(defaultSerializer);
    }
@Test
    void testMapSerialize() {
        Serializer serializer = SerializeFactory.getDefault();
        Map<Integer, Integer> logsMap = new HashMap<>();
        for (int i = 0; i < 4; i++) {
            logsMap.put(i, i);
        }
        byte[] data = serializer.serialize(logsMap);
        assertNotEquals(0, data.length);
        Map<Integer, Integer> result = serializer.deserialize(data, HashMap.class);
        System.out.println(result);
    }