I hereby claim:
- I am bbejeck on github.
- I am terpsdad (https://keybase.io/terpsdad) on keybase.
- I have a public key ASCyvUZxKkXxViUw26zdemp5hRPxzRAdg1PCBTJw42TU5Ao
To claim this, I am signing this object:
echo "Enter the name for your cluster" | |
read CLUSTER_NAME; | |
echo "Enter the cloud (aws, azure, gcp)" | |
read CLOUD; | |
echo "Enter the region" | |
read REGION; | |
echo "Enter the geo location (us for now)" | |
read GEO; |
#!/bin/sh | |
KAFKA_DIR=/usr/local/kafka_2.11-0.9.0.0-SNAPSHOT | |
START_ZK="./bin/zookeeper-server-start.sh" | |
ZK_PROPS="config/zookeeper.properties" | |
START_KAFKA="./bin/kafka-server-start.sh" | |
KAFKA_PROPS="config/server.properties" |
I hereby claim:
To claim this, I am signing this object:
/* | |
* 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 | |
* |
/* | |
* 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 | |
* |
/* | |
* 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 | |
* |
package bbejeck.grouping | |
import org.apache.log4j.{Level, Logger} | |
import org.apache.spark.{SparkConf, SparkContext} | |
import scala.collection.mutable | |
/** | |
* Created by bbejeck on 7/31/15. | |
* |
dataByAirportStream.join(regressionsByAirPortTable, | |
(k, v) -> k, | |
DataRegression::new) | |
.mapValues(Predictor::predict) |
/* | |
* * | |
* | |
* | |
* Copyright 2015 Bill Bejeck | |
* | |
* Licensed 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 | |
* |
// imports and license left out for clarity | |
public class OptimizedStreams { | |
public static void main(String[] args) { | |
final Properties properties = new Properties(); | |
properties.setProperty(StreamsConfig.APPLICATION_ID_CONFIG, "test-application"); | |
properties.setProperty(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092 "); | |
properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE); | |
properties.setProperty(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.String().getClass().getName()); |