DEV Community

Timothy Spann.   πŸ‡ΊπŸ‡¦
Timothy Spann. πŸ‡ΊπŸ‡¦

Posted on

Dec 12, 2022 FLiP Stack Weekly

Dec 12, 2022 FLiP Stack Weekly

People are FLiPN out about It is a game changer, add another few years and this should be 10x better.

ChatGPT wrote me this Pulsar function:

import org.apache.pulsar.functions.api.Context;
import org.apache.pulsar.functions.api.Function;

public class BertQAFunction implements Function<String, String> {

  public String process(String input, Context context) {
    // Parse the input JSON into a Java object using a JSON library
    // such as Jackson or Gson
    MyJsonObject json = parseJson(input);

    // Use the Bert QA library to perform QA on the JSON object
    BertQAResult result = BertQA.runQA(json);

    // Return the result as a JSON string
    return result.toJson();

Enter fullscreen mode Exit fullscreen mode


I then tried to build 50 more. Some are good, some are minimal, some are bad and some are just shells. An interesting start and some good ideas on functions to build. I offer the source as a starter for anyone wanting to build some functions.

Check out our channel:

New Stuff

A quick preview of Apache Pulsar + Apache Pinot.



Take a look at recent podcasts in audio or video format.

{% embed %}


Join my meetup group NJ/NYC/Philly/Virtual.

This is Issue #62!!

VIDEOS Collect them all

{% embed %}

{% embed %}

{% embed %}

{% embed %}

{% embed %}



Dates are January 17 - 19, 2023 from 2pm - 5pm CET / 8am - 12pm EST
Link to register:



Dec 14, 2022: Manhattan, NYC: Pulsar + Pinot Meetup

Dec 15, 2022: TigerLabs, Princeton, NJ: Pulsar + NiFi + Flink Meetup

Data Science Camp Online

Feb 15, 2023: Scylla Summit. Virtual

HTAP Summit

Coming soon.

Pinot / Pulsar Meetup

Coming soon.

CockroachDB NYC Meetup

Hazelcast Event




docker exec -it pulsar bin/pulsar-admin topics get-retention persistent://public/default/items

Enter fullscreen mode Exit fullscreen mode


Another tip is don't run ChatGPT created functions on a cluster.


Top comments (0)