Skip to content

Commit a6be21e

Browse files
committed
Update remote urls: snappy, https, etc
Snappy URL was outdated. Similarly, many of these sites now support https.
1 parent 477ab74 commit a6be21e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

benchmarks/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
The `record_batch_*` benchmarks in this section are written using
22
``perf`` library, created by Viktor Stinner. For more information on how to get
33
reliable results of test runs please consult
4-
http://perf.readthedocs.io/en/latest/run_benchmark.html.
4+
https://perf.readthedocs.io/en/latest/run_benchmark.html.

docs/install.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Optional Snappy install
3737
Install Development Libraries
3838
=============================
3939

40-
Download and build Snappy from http://code.google.com/p/snappy/downloads/list
40+
Download and build Snappy from https://google.github.io/snappy/
4141

4242
Ubuntu:
4343

@@ -55,9 +55,9 @@ From Source:
5555

5656
.. code:: bash
5757
58-
wget http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz
59-
tar xzvf snappy-1.0.5.tar.gz
60-
cd snappy-1.0.5
58+
wget https://github.com/google/snappy/releases/download/1.1.3/snappy-1.1.3.tar.gz
59+
tar xzvf snappy-1.1.3.tar.gz
60+
cd snappy-1.1.3
6161
./configure
6262
make
6363
sudo make install

kafka/producer/kafka.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class KafkaProducer(object):
5151
'retries' is configured to 0. Enabling retries also opens up the
5252
possibility of duplicates (see the documentation on message
5353
delivery semantics for details:
54-
http://kafka.apache.org/documentation.html#semantics
54+
https://kafka.apache.org/documentation.html#semantics
5555
).
5656
5757
The producer maintains buffers of unsent records for each partition. These
@@ -522,7 +522,7 @@ def send(self, topic, value=None, key=None, headers=None, partition=None, timest
522522
serializable to bytes via configured value_serializer. If value
523523
is None, key is required and message acts as a 'delete'.
524524
See kafka compaction documentation for more details:
525-
http://kafka.apache.org/documentation.html#compaction
525+
https://kafka.apache.org/documentation.html#compaction
526526
(compaction requires kafka >= 0.8.1)
527527
partition (int, optional): optionally specify a partition. If not
528528
set, the partition will be selected using the configured

kafka/record/_crc32c.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
# limitations under the License.
1919
#
2020
"""Implementation of CRC-32C checksumming as in rfc3720 section B.4.
21-
See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
21+
See https://en.wikipedia.org/wiki/Cyclic_redundancy_check for details on CRC-32C
2222
This code is a manual python translation of c code generated by
23-
pycrc 0.7.1 (http://www.tty1.net/pycrc/). Command line used:
23+
pycrc 0.7.1 (https://pycrc.org/). Command line used:
2424
'./pycrc.py --model=crc-32c --generate c --algorithm=table-driven'
2525
"""
2626

kafka/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def __del__(self):
134134
class WeakMethod(object):
135135
"""
136136
Callable that weakly references a method and the object it is bound to. It
137-
is based on http://stackoverflow.com/a/24287465.
137+
is based on https://stackoverflow.com/a/24287465.
138138
139139
Arguments:
140140

0 commit comments

Comments
 (0)