Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quarkiverse/quarkus-fury

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.
https://github.com/quarkiverse/quarkus-fury

fury quarkus-extension serialization

Last synced: about 1 month ago
JSON representation

A blazingly fast multi-language serialization framework powered by JIT and zero-copy.

Awesome Lists containing this project

README

        

# Quarkus Fury

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)

[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.fury/quarkus-fury?logo=apache-maven&style=flat-square)](https://central.sonatype.com/artifact/io.quarkiverse.fury/quarkus-fury-parent)

Quarkus Fury is a Quarkus extension to use [Apache Fury](https://github.com/apache/fury) for serialization.

## Documentation

The documentation for this extension can be found [here](https://docs.quarkiverse.io/quarkus-fury/dev/index.html) while the documentation for the Apache Fury can be found at https://fury.apache.org/.

## Getting Started

```java
import java.util.List;
import java.util.Map;

import io.quarkiverse.fury.FurySerialization;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;

import org.apache.fury.BaseFury;

@Path("/fury")
@ApplicationScoped
public class FuryResources {
@FurySerialization
public record Foo(int f1, String f2, List f3, Map f4) {
}

@Inject
BaseFury fury;

@GET
@Path("/record")
public Boolean testSerializeFooRecord() {
Foo foo1 = new Foo(10, "abc", List.of("str1", "str2"), Map.of("k1", 10L, "k2", 20L));
Foo foo2 = (Foo) fury.deserialize(fury.serialize(foo1));
return foo1.equals(foo2);
}
}
```

More details about usage can be found [here](https://docs.quarkiverse.io/quarkus-fury/dev/index.html).

## Contributors ✨

Thanks go to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Shawn Yang
Shawn Yang

💻 🚧
Zheng Feng
Zheng Feng

💻 🚧

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!