# Event registry - HTTP

**URL:** https://forum.flowable.org/t/event-registry-http/8171
**Category:** Flowable Engine
**Created:** [July 25, 2021, 6:40pm UTC](https://forum.flowable.org/t/event-registry-http/8171 "2021-07-25T18:40:59Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mykeul](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mykeul](https://forum.flowable.org/u/mykeul)
#### Post date: [July 25, 2021, 6:40pm UTC](https://forum.flowable.org/t/event-registry-http/8171/1 "2021-07-25T18:40:59Z")

</div>

I already implemented event registry for Kafka - which works perfectly.

According to this blog, there is a also a possibility to receive events through HTTP.  
[https://blog.flowable.org/2020/02/08/introducing-the-flowable-event-registry/](https://blog.flowable.org/2020/02/08/introducing-the-flowable-event-registry/)

However, I don’t see example how to implement this.

Is there any tutorial/examples?

Cheers,

---

<div class="post-metadata">

### Author: ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)
#### Post date: [August 2, 2021, 11:53am UTC](https://forum.flowable.org/t/event-registry-http/8171/2 "2021-08-02T11:53:15Z")

</div>

This is the endpoint you’re looking for: [flowable-engine/EventInstanceCollectionResource.java at master · flowable/flowable-engine · GitHub](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-event-registry-rest/src/main/java/org/flowable/eventregistry/rest/service/api/runtime/EventInstanceCollectionResource.java)

---

<div class="post-metadata">

### Author: ![harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@harish](https://forum.flowable.org/u/harish)
#### Post date: [August 5, 2021, 2:47pm UTC](https://forum.flowable.org/t/event-registry-http/8171/3 "2021-08-05T14:47:46Z")

</div>

Hi @mykeul , as you said, you have already implemented event registry for Kafka and its working. Could you please guide me how can I implement it and how can I verify in my code when the message is received from kafka topic.

@joram , I am using Micronaut framework, is there any implementation available with this framework for receiving kafka topic message.

---

<div class="post-metadata">

### Author: ![mykeul](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mykeul](https://forum.flowable.org/u/mykeul)
#### Post date: [August 7, 2021, 8:09pm UTC](https://forum.flowable.org/t/event-registry-http/8171/4 "2021-08-07T20:09:59Z")

</div>

Hi Harish,

There are several examples on how to implement event registry for Kafka.  
For my part, I used this one:  
[https://blog.flowable.org/2020/02/08/introducing-the-flowable-event-registry/](https://blog.flowable.org/2020/02/08/introducing-the-flowable-event-registry/)

Hope it helps.

Michel

---

<div class="post-metadata">

### Author: ![harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@harish](https://forum.flowable.org/u/harish)
#### Post date: [August 9, 2021, 5:25pm UTC](https://forum.flowable.org/t/event-registry-http/8171/5 "2021-08-09T17:25:43Z")

</div>

Thanks @mykeul , it worked for spring boot and now trying with micronaut.

---

<div class="post-metadata">

### Author: ![harish](https://avatars.discourse-cdn.com/v4/letter/h/47e85d/32.png) [@harish](https://forum.flowable.org/u/harish)
#### Post date: [August 10, 2021, 10:57am UTC](https://forum.flowable.org/t/event-registry-http/8171/6 "2021-08-10T10:57:59Z")

</div>

Hi @joram, I am trying to implement same in Micronaut and its not working. I do not get any error but the control is not coming to my delegate. Although , I am able to do the same with spring boot. Below are the configurations I have added:

```auto
 implementation 'io.micronaut.kafka:micronaut-kafka:3.3.3'
    implementation "org.flowable:flowable-engine:6.6.0"

```

My Bean:

```auto
@Bean
    @Singleton
    public ProcessEngine processEngine() {

        ProcessEngineConfiguration cfg = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration()
                .setJdbcUrl("dbUrl")
                .setJdbcUsername("username")
                .setJdbcPassword("password")
                .setJdbcDriver("driver class name")
                .setAsyncExecutorActivate(true) .setDatabaseSchemaUpdate(AbstractEngineConfiguration.DB_SCHEMA_UPDATE_TRUE);

        List<VariableType> customTypes = new ArrayList<>();
        ((StandaloneProcessEngineConfiguration) cfg).setCustomPreVariableTypes(customTypes);

        ProcessEngine processEngine = cfg.buildProcessEngine();

         processEngine.getRepositoryService().createDeployment()
                    .addClasspathResource("test.bpmn20.xml")
                    .addClasspathResource("eventregistry/event-idvCompleteEvent.event")
                    .addClasspathResource("eventregistry/channel-idvCompleteChannel.channel")
                    .deploy();

        return processEngine;
    }

```

My delegate:

```auto
public class MyDelegate implements JavaDelegate {

    @Override
    public void execute(DelegateExecution execution) {

        String field = execution.getVariable("fieldNamePassingFromKafkaTopicMessage", String.class);
    }
}

```

Could you please suggest me what’s wrong in my implementation or any dependency that I am missing ?

Thanks  
Harish

---

<div class="post-metadata">

### Author: ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)
#### Post date: [August 11, 2021, 12:53pm UTC](https://forum.flowable.org/t/event-registry-http/8171/7 "2021-08-11T12:53:43Z")

</div>

Hey @harish,

There is no need to ping anyone and you already asked this question in a different topic ([Flowable with kafka](https://forum.flowable.org/t/flowable-with-kafka/8214)). I’ve already provided you with an answer.

Please be patient and do not cross post questions.

Cheers,  
Filip

---

<div class="post-metadata">

### Author: ![mykeul](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mykeul](https://forum.flowable.org/u/mykeul)
#### Post date: [October 11, 2021, 7:57am UTC](https://forum.flowable.org/t/event-registry-http/8171/8 "2021-10-11T07:57:45Z")

</div>

Thanks Joram.  
Is there a sample on how to implement it?  
I would like to have a process that has a blocking event waiting for an external rest (endpoint defined in Flowable).  
Once the rest is called/received, the process instance continues  
Does it fit our requirements or is there another construct?  
Thanks,
