Skip to content

Instantly share code, notes, and snippets.

View pgwhalen's full-sized avatar

Paul pgwhalen

  • Peak6 Investments
  • Chicago
View GitHub Profile
@pgwhalen
pgwhalen / record_batch_reader.go
Created April 23, 2021 03:18
Modification to expose AppMetadata for flight clients
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
@pgwhalen
pgwhalen / gist:57a00dcc2269b7610e1aaeb1549b3b65
Created December 11, 2018 02:31
Multiple processors with shared state stores
package com.pgwhalen.demo;
import org.apache.kafka.common.serialization.Serdes;
import org.apache.kafka.streams.Topology;
import org.apache.kafka.streams.processor.Processor;
import org.apache.kafka.streams.processor.ProcessorContext;
import org.apache.kafka.streams.processor.ProcessorSupplier;
import org.apache.kafka.streams.state.KeyValueStore;
import org.apache.kafka.streams.state.Stores;