Files
spring-cloud-dataflow-samples/kafka-samples/http-ingest
Chris Bono 301ba872bb Bump libs up to latest
* Spring Boot 2.6.3
* Spring Cloud 2021.0.0
* SCS/F 3.2.1
* etc..

Partially resolves #156
2022-01-24 10:20:21 -06:00
..
2019-03-18 16:01:02 -04:00
2019-08-07 12:09:13 +05:30
2019-03-18 16:01:02 -04:00
2019-03-18 16:01:02 -04:00
2022-01-24 10:20:21 -06:00
2019-03-18 16:01:02 -04:00

# HTTP Ingest Source

This source application is an extension of out-of-the-box HTTP source application.

The `http-ingest` has a function bean definition that looks like:

```
@Bean
public Function<String, Long> sendAsUserClicks() {
  return value -> Long.parseLong(value);
}

```

When this function bean is enabled, the incoming `String` value is converted to `Long` value.
When sending user clicks count as `Long` we can enable this function for the `http-ingest` while the same application can be used for sending the user region `String` value.

To build this application:

./mvnw clean package