commit | ef23272204cf9af65ca2f3ab5f7032d43e43c9df | [log] [tgz] |
---|---|---|
author | Jagadish <jvenkatraman@linkedin.com> | Sun Oct 21 12:22:16 2018 -0700 |
committer | Prateek Maheshwari <pmaheshwari@apache.org> | Mon Oct 22 18:04:20 2018 -0700 |
tree | 075fd09b06fb1c8f2c2be3b3d98b77222c127f04 | |
parent | bda672eb5f2c643317ac2dd862ceb34c5fe8ee9d [diff] |
Fix styling for LinkedIn logo; Add support for loading logos from URLs The current styling for logos: - Trims the logos by overlaying a circular foreground - Auto-fetches images from Clearbit's logo API, which returns LinkedIn logo with pointed corners Branding guidelines dictate that - We don't apply any foreground - We leave the corners in their perfectly rounded-form To conform with them, we will - Remove CSS settings for "background-radius" - Add support for loading images from custom URLs other than clearbit **Before:** On image load: <img width="133" alt="li-circular" src="https://user-images.githubusercontent.com/18561937/47271223-81a22f80-d52b-11e8-853b-22bd550c623a.png"> On mouse-over: <img width="148" alt="li-rectangular" src="https://user-images.githubusercontent.com/18561937/47271222-81a22f80-d52b-11e8-8e40-0c87e7499052.png"> **After:** <img width="161" alt="li-correct" src="https://user-images.githubusercontent.com/18561937/47271225-8830a700-d52b-11e8-97d0-d985027af436.png"> Author: Jagadish <jvenkatraman@linkedin.com> Reviewers: Jagadish<jagadish@apache.org> Closes #750 from vjagadish1989/website-reorg22
Apache Samza is a distributed stream processing framework. It uses Apache Kafka for messaging, and Apache Hadoop YARN to provide fault tolerance, processor isolation, security, and resource management.
Samza's key features include:
Check out Hello Samza to try Samza. Read the Background page to learn more about Samza.
To build Samza from a git checkout, run:
./gradlew clean build
To build Samza from a source release, it is first necessary to download the gradle wrapper script above. This bootstrapping process requires Gradle to be installed on the source machine. Gradle is available through most package managers or directly from its website. To bootstrap the wrapper, run:
gradle -b bootstrap.gradle
After the bootstrap script has completed, the regular gradlew instructions below are available.
Samza builds with Scala 2.10 or 2.11 and YARN 2.6.1, by default. Use the -PscalaVersion switches to change Scala versions. Samza supports building Scala with 2.10 and 2.11.
./gradlew -PscalaVersion=2.11 clean build
To run all tests:
./gradlew clean test
To run a single test:
./gradlew clean :samza-test:test -Dtest.single=TestStatefulTask
To run key-value performance tests:
./gradlew samza-shell:kvPerformanceTest -PconfigPath=file://$PWD/samza-test/src/main/config/perf/kv-perf.properties
To run yarn integration tests:
./bin/integration-tests.sh <dir> yarn-integration-tests
To run standalone integration tests:
./bin/integration-tests.sh <dir> standalone-integration-tests
./gradlew checkstyleMain checkstyleTest
To run a job (defined in a properties file):
./gradlew samza-shell:runJob -PconfigPath=file:///path/to/job/config.properties
To inspect a job's latest checkpoint:
./gradlew samza-shell:checkpointTool -PconfigPath=file:///path/to/job/config.properties
To modify a job's checkpoint (assumes that the job is not currently running), give it a file with the new offset for each partition, in the format systems.<system>.streams.<topic>.partitions.<partition>=<offset>
:
./gradlew samza-shell:checkpointTool -PconfigPath=file:///path/to/job/config.properties \ -PnewOffsets=file:///path/to/new/offsets.properties
To get Eclipse projects, run:
./gradlew eclipse
For IntelliJ, run:
./gradlew idea
To start contributing on Samza please read Rules and Contributor Corner. Notice that Samza git repository does not support git pull request.
Apache Samza is a top level project of the Apache Software Foundation.