{"id":13511844,"url":"https://github.com/vert-x3/vertx-examples","last_synced_at":"2025-05-13T16:10:56.870Z","repository":{"id":27784085,"uuid":"31272860","full_name":"vert-x3/vertx-examples","owner":"vert-x3","description":"Vert.x examples","archived":false,"fork":false,"pushed_at":"2025-04-23T11:25:41.000Z","size":52163,"stargazers_count":3564,"open_issues_count":47,"forks_count":2083,"subscribers_count":233,"default_branch":"5.x","last_synced_at":"2025-04-23T20:56:11.363Z","etag":null,"topics":["async","examples","http2","kotlin","reactive","vertx"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vert-x3.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-02-24T17:42:44.000Z","updated_at":"2025-04-23T11:25:46.000Z","dependencies_parsed_at":"2022-07-18T03:00:40.973Z","dependency_job_id":"f24d23fa-633c-4cb4-bc62-fd7833558bcc","html_url":"https://github.com/vert-x3/vertx-examples","commit_stats":{"total_commits":1202,"total_committers":108,"mean_commits":11.12962962962963,"dds":0.6905158069883528,"last_synced_commit":"6020f0795daa5613cd48df956801aa3f4c5fa0e7"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vert-x3%2Fvertx-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vert-x3","download_url":"https://codeload.github.com/vert-x3/vertx-examples/tar.gz/refs/heads/5.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250514767,"owners_count":21443208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","examples","http2","kotlin","reactive","vertx"],"created_at":"2024-08-01T03:01:13.472Z","updated_at":"2025-04-23T20:56:26.242Z","avatar_url":"https://github.com/vert-x3.png","language":"Java","funding_links":[],"categories":["Java","Examples"],"sub_categories":[],"readme":"= Vert.x 5 examples\n\nThis repository contains a range of examples, so you can get up and running easily with Vert.x. 5\n\nVert.x 4 examples can be found here https://github.com/vert-x3/vertx-examples/tree/4.x\n\n== The examples\n\nThe examples demonstrate how to use all different bits of Vert.x including Vert.x core, Vert.x-Web and various other services and features.\n\nMost of the examples have been written as verticles. For more information on verticles please consult the Vert.x core manual.\n\nUsing verticles allows you to scale and run your code from the command line more easily, but if you prefer the same code in the verticles can also be run embedded.\nIt's really up to you.\nVerticles are entirely optional in Vert.x.\n\n=== Running the examples\n\n==== Running in your IDE\n\nMost of the Java examples can be run directly in your IDE.\n\nWe provide a `main()` method in most of the example classes which allows you to conveniently run them directly in your IDE.\n\nJust right-click the main method or class in your IDE and run as... application (supported by all major IDEs).\n\n=== Vert.x core examples\n\nThe link:core-examples/README.adoc[Vert.x core examples] contains a wide range of examples using just Vert.x Core.\n\n=== Service resolver examples\n\nThe link:service-resolver-examples/README.adoc[Vert.x Service Resolver] examples contain client\nusing a resolver to discover service endpoints.\n\n=== Vert.x-Web examples\n\nVert.x-Web is a toolkit for building web applications using Vert.x\n\nThe link:web-examples/README.adoc[Vert.x-Web examples] contains a wide range of examples using Vert.x-Web\n\n=== Vert.x Web Client examples\n\nVert.x Web Client that provides an easy-to-use web client for Vert.x.\n\nThe link:web-client-examples/README.adoc[Vert.x Web Client examples] contains a wide range of examples using the Vert.x Web Client\n\n=== Virtual Threads\n\nThe `virtual-threads-examples` module shows how to use Vert.x with virtual threads.\n\nSee link:virtual-threads-examples/README.adoc[Vert.x Virtual Threads 5 examples].\n\n=== Vert.x JUnit 5 examples\n\nThe `vertx-junit5` modules allow testing Vert.x asynchronous operations with JUnit 5.\n\nSee link:junit5-examples/README.adoc[Vert.x JUnit 5 examples].\n\n=== Vert.x Zipkin examples\n\nlink:zipkin-examples/README.adoc[Vert.x Zipkin examples] contains a wide range of examples using Vert.x Zipkin.\n\n=== RxJava examples\n\nVert.x for RxJava provides most of its APIs as RxJava, so you can use those if you prefer.\n\nRxJava is a great choice when you want to perform complex operations on multiple asynchronous streams of data.\n\nThe link:rxjava-2-examples/README.adoc[Vert.x RxJava 2] examples contains a wide range of examples using Vert.x for RxJava 2\nThe link:rxjava-3-examples/README.adoc[Vert.x RxJava 3] examples contains a wide range of examples using Vert.x for RxJava 3\n\n=== gRPC examples\n\nThe link:grpc-examples/README.adoc[Vert.x gRPC Examples] show how you can implement a gRPC service and invoke a gRPC service with Vert.x.\n\n=== Kotlin coroutines examples\n\nThe link:kotlin-coroutines-examples/README.md[Kotlin coroutines example] is a sample JDBC application demonstrating Kotlin coroutines in action.\n\n=== Mail examples\n\nThe link:mail-examples/README.adoc[Vert.x Mail examples]\ncontains a few examples using Vert.x Mail\n\nThe mail examples show different ways to create the mail message and send it via\ntls, ssl etc. The examples either use `localhost:25` to send a mail or use host\n`mail.example.com`. To actually run the examples you will have to change the\nmail server and the user credentials in the `MailLogin` example.\n\n=== Service Proxy Examples\n\nThe link:service-proxy-examples/README.adoc[Vert.x Service Proxy examples] contains an example of service proxy usage.\nIt depicts how a service provider can be implemented and how the published service can be consumed.\n\n=== Vert.x AMQP examples\n\nThe link:amqp-examples/README.adoc[Vert.x AMQP examples] shows how to interact with an AMQP broker.\n\n=== Spring Examples\n\nThe link:spring-examples/README.adoc[Vert.x Spring Examples] shows how vert.x application can be integrated inside a Spring\necosystem.\n\n=== Redis example\n\nThe link:redis-examples/README.adoc[Vert.x Redis Example] shows how you can interact with Redis using the vert.x Redis client.\n\n=== Mongo example\n\nThe link:mongo-examples/README.adoc[Vert.x Mongo Example] shows how you can interact with MongoDB using the vert.x Mongo client.\n\n=== SQL client example\n\nThe link:sql-client-examples/README.adoc[Vert.x SQL Client Examples] shows how you can interact PostgreSQL or MySQL Databases using the Reactive SQL client.\n\n=== Kafka example\n\nThe link:kafka-examples/README.adoc[Vert.x Kafka Examples] shows how you can interact Kafka using the vert.x Kafka\nclient.\n\n=== MQTT example\n\nThe link:mqtt-examples/README.adoc[Vert.x MQTT Examples] shows how you can write MQTT servers and clients using Vert.x MQTT.\n\n=== Service Proxy Examples\n\nThe link:service-proxy-examples/README.adoc[Vert.x Service Proxy examples] contains an example of service proxy usage.\nIt depicts how a service provider can be implemented and how the published service can be consumed.\n\n=== JPMS examples\n\nThis link:jpms-examples/README.adoc[JPMS examples] shows how a simple Java (11) modular application using Vert.x.\n\n=== Camel Bridge examples\n\nThe link:camel-bridge-examples/README.adoc[Vert.x Camel Bridge Examples] show how you can use Apache Camel routes from\nthe event bus.\n\n=== GraphQL examples\n\nThe link:web-graphql-examples/README.adoc[Vert.x Web GraphQL] examples contain simple client/server GraphQL applications built with https://vertx.io/docs/vertx-web-graphql/java/[Vert.x Web GraphQL] and the https://www.graphql-java.com/[GraphQL-Java] library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvert-x3%2Fvertx-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvert-x3%2Fvertx-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvert-x3%2Fvertx-examples/lists"}