diff options
author | Remi Collet <remi@remirepo.net> | 2023-01-19 15:53:23 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-01-19 15:53:23 +0100 |
commit | 718aa7b84d3a4625d366d6a8ba9ba8516ca4d74c (patch) | |
tree | 4868f85628ebd0a4189152b130f6e4c22bf44e4c | |
parent | e0de85f1f3fb00dc9065a51f4baf151ce5f379a0 (diff) |
update to 2.0.1
rename to remi-librdkafka installed in /opt/remi/librdkafka
-rw-r--r-- | compat_reports/1.9.2_to_2.0.1/compat_report.html | 880 | ||||
-rw-r--r-- | librdkafka-soname.patch | 22 | ||||
-rw-r--r-- | librdkafka.spec | 55 | ||||
-rw-r--r-- | librdkafka.xml | 6 |
4 files changed, 922 insertions, 41 deletions
diff --git a/compat_reports/1.9.2_to_2.0.1/compat_report.html b/compat_reports/1.9.2_to_2.0.1/compat_report.html new file mode 100644 index 0000000..ded670a --- /dev/null +++ b/compat_reports/1.9.2_to_2.0.1/compat_report.html @@ -0,0 +1,880 @@ +<!-- kind:binary;verdict:incompatible;affected:0.1;added:46;removed:0;type_problems_high:0;type_problems_medium:1;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:0;type_changes_other:4;constant_changes_other:4;tool_version:2.3 --> +<!-- kind:source;verdict:compatible;affected:0;added:46;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:1;type_changes_other:5;constant_changes_other:4;tool_version:2.3 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width,initial-scale=1" /> +<meta name="keywords" content="librdkafka, compatibility, API, ABI, report" /> +<meta name="description" content="API/ABI compatibility report for the librdkafka library between 1.9.2 and 2.0.1 versions" /> +<title>librdkafka: 1.9.2 to 2.0.1 compatibility report</title> +<style type="text/css"> +body { + font-family:Arial, sans-serif; + background-color:White; + color:Black; +} +hr { + color:Black; + background-color:Black; + height:1px; + border:0; +} +h1 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.625em; +} +h2 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.25em; + white-space:nowrap; +} +span.section { + font-weight:bold; + cursor:pointer; + color:#003E69; + white-space:nowrap; + margin-left:0.3125em; +} +span.new_sign { + font-weight:bold; + margin-left:1.65em; + color:#003E69; +} +span.new_sign_lbl { + margin-left:3em; + font-size:1em; + color:Black; +} +span:hover.section { + color:#336699; +} +span.sect_aff { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:#cc3300; +} +span.sect_info { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:Black; +} +span.ext { + font-weight:normal; +} +span.h_name { + color:#cc3300; + font-size:0.875em; + font-weight:bold; +} +div.h_list, div.lib_list { + font-size:0.94em; + padding-left:0.4em; +} +span.ns { + color:#408080; + font-size:0.94em; +} +span.lib_name { + color:Green; + font-size:0.875em; + font-weight:bold; +} +span.iname { + font-weight:bold; + color:#003E69; + margin-left:0.3125em; +} +span.iname_b { + font-weight:bold; +} +span.iname_a { + color:#333333; + font-weight:bold; + font-size:0.94em; +} +span.sym_p { + font-weight:normal; + white-space:normal; +} +span.sym_pd { + white-space:normal; +} +span.sym_p span, span.sym_pd span { + white-space:nowrap; +} +div.affect { + padding-left:1em; + padding-bottom:10px; + font-size:0.87em; + font-style:italic; + line-height:0.9em; +} +div.affected { + padding-left:1.9em; + padding-top:10px; +} +table.ptable { + border-collapse:collapse; + border:1px outset black; + margin-left:0.95em; + margin-top:3px; + margin-bottom:3px; + width:56.25em; +} +table.ptable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + text-align:left; + vertical-align:top; + max-width:28em; + word-wrap:break-word; +} +table.ptable th.pn { + width:2%; +} +table.ptable th.chg { + width:47%; +} +table.vtable { + border-collapse:collapse; + border:1px outset black; + margin-left:1.9em; + margin-top:0.7em; +} +table.vtable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + vertical-align:top; + max-width:450px; + word-wrap:break-word; +} +table.ptable th, table.vtable th { + background-color:#eeeeee; + font-weight:bold; + color:#333333; + font-family:Verdana, Arial; + font-size:0.875em; + border:1px solid gray; + text-align:center; + vertical-align:top; + white-space:nowrap; + padding:3px; +} +table.summary { + border-collapse:collapse; + border:1px outset black; +} +table.summary th { + background-color:#eeeeee; + font-weight:normal; + text-align:left; + font-size:0.94em; + white-space:nowrap; + border:1px inset gray; + padding:3px; +} +table.summary td { + text-align:right; + white-space:nowrap; + border:1px inset gray; + padding:3px 5px 3px 10px; +} +span.mngl { + padding-left:1em; + font-size:0.875em; + cursor:text; + color:#444444; + font-weight:bold; +} +span.pleft { + padding-left:2.5em; +} +span.sym_ver { + color:#333333; + white-space:nowrap; + font-family:"DejaVu Sans Mono", Monospace; +} +span.attr { + color:#333333; + font-weight:normal; +} +span.color_p { + font-style:italic; + color:Brown; +} +span.p { + font-style:italic; +} +span.fp { + font-style:italic; + background-color:#DCDCDC; +} +span.ttype { + font-weight:normal; +} +span.nowrap { + white-space:nowrap; +} +span.value { + font-weight:bold; +} +.passed { + background-color:#CCFFCC; + font-weight:normal; +} +.warning { + background-color:#F4F4AF; + font-weight:normal; +} +.failed { + background-color:#FFCCCC; + font-weight:normal; +} +.new { + background-color:#C6DEFF; + font-weight:normal; +} +.compatible { + background-color:#CCFFCC; + font-weight:normal; +} +.almost_compatible { + background-color:#FFDAA3; + font-weight:normal; +} +.incompatible { + background-color:#FFCCCC; + font-weight:normal; +} +.gray { + background-color:#DCDCDC; + font-weight:normal; +} +.top_ref { + font-size:0.69em; +} +.footer { + font-size:0.75em; +} + +.tabset { + float:left; +} +a.tab { + border:1px solid Black; + float:left; + margin:0px 5px -1px 0px; + padding:3px 5px 3px 5px; + position:relative; + font-size:0.875em; + background-color:#DDD; + text-decoration:none; + color:Black; +} +a.disabled:hover +{ + color:Black; + background:#EEE; +} +a.active:hover +{ + color:Black; + background:White; +} +a.active { + border-bottom-color:White; + background-color:White; +} +div.tab { + border-top:1px solid Black; + padding:0px; + width:100%; + clear:both; +} +</style> +<script type="text/javascript" language="JavaScript"> +<!-- +function showContent(header, id) +{ + e = document.getElementById(id); + if(e.style.display == 'none') + { + e.style.display = 'block'; + e.style.visibility = 'visible'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); + } + else + { + e.style.display = 'none'; + e.style.visibility = 'hidden'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); + } +} +function initTabs() +{ + var url = window.location.href; + if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) + { + var tab1 = document.getElementById('BinaryID'); + var tab2 = document.getElementById('SourceID'); + tab1.className='tab disabled'; + tab2.className='tab active'; + } + var sets = document.getElementsByTagName('div'); + for (var i = 0; i < sets.length; i++) + { + if (sets[i].className.indexOf('tabset') != -1) + { + var tabs = []; + var links = sets[i].getElementsByTagName('a'); + for (var j = 0; j < links.length; j++) + { + if (links[j].className.indexOf('tab') != -1) + { + tabs.push(links[j]); + links[j].tabs = tabs; + var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); + //reset all tabs on start + if (tab) + { + if (links[j].className.indexOf('active')!=-1) { + tab.style.display = 'block'; + } + else { + tab.style.display = 'none'; + } + } + links[j].onclick = function() + { + var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); + if (tab) + { + //reset all tabs before change + for (var k = 0; k < this.tabs.length; k++) + { + document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; + this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); + } + this.className = 'tab active'; + tab.style.display = 'block'; + // window.location.hash = this.id.replace('ID', ''); + return false; + } + } + } + } + } + } + if(url.indexOf('#')!=-1) { + location.href=location.href; + } +} +if (window.addEventListener) window.addEventListener('load', initTabs, false); +else if (window.attachEvent) window.attachEvent('onload', initTabs); +--> +</script> +</head> +<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>librdkafka</span> library between <span style='color:Red;'>1.9.2</span> and <span style='color:Red;'>2.0.1</span> versions on <span style='color:Blue;'>x86_64</span></h1> + + <br/> + <div class='tabset'> + <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> + <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> + </div><div id='BinaryTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>librdkafka</td></tr> +<tr><th>Version #1</th><td>1.9.2</td></tr> +<tr><th>Version #2</th><td>2.0.1</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>GCC Version</th><td>12</td></tr> +<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>336 / 134</td></tr> +<tr><th>Compatibility</th> +<td class='warning'>99.9%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Binary_Added' style='color:Blue;'>46</a></td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td class='failed'><a href='#Type_Binary_Problems_Medium' style='color:Blue;'>1</a></td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Types' style='color:Blue;'>4</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Constants' style='color:Blue;'>4</a></td></tr> +</table> + +<a name='Binary_Added'></a><h2>Added Symbols <span class='new'> 46 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span>, <span class='lib_name'>librdkafka.so.1</span><br/> +<span class="iname">rd_kafka_AdminOptions_set_match_consumer_group_states <span class='sym_p'><span>( rd_kafka_AdminOptions_t* <span class='color_p'>options</span></span>, <span>enum rd_kafka_consumer_group_state_t const* <span class='color_p'>consumer_group_states</span></span>, <span>size_t <span class='color_p'>consumer_group_states_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AdminOptions_set_require_stable_offsets <span class='sym_p'><span>( rd_kafka_AdminOptions_t* <span class='color_p'>options</span></span>, <span>int <span class='color_p'>true_or_false</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_AlterConsumerGroupOffsets_t** <span class='color_p'>alter_grpoffsets</span></span>, <span>size_t <span class='color_p'>alter_grpoffsets_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_destroy <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_t* <span class='color_p'>alter_grpoffsets</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_destroy_array <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_t** <span class='color_p'>alter_grpoffsets</span></span>, <span>size_t <span class='color_p'>alter_grpoffset_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_new <span class='sym_p'><span>( char const* <span class='color_p'>group_id</span></span>, <span>rd_kafka_topic_partition_list_t const* <span class='color_p'>partitions</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_result_groups <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_conf_set_resolve_cb <span class='sym_p'><span>( rd_kafka_conf_t* <span class='color_p'>conf</span></span>, <span>int(*<span class='color_p'>resolve_cb</span>)(char const*, char const*, struct addrinfo const*, struct addrinfo**, void*)</span> )</span></span><br/> +<span class="iname">rd_kafka_consumer_group_state_code <span class='sym_p'><span>( char const* <span class='color_p'>name</span></span> )</span></span><br/> +<span class="iname">rd_kafka_consumer_group_state_name <span class='sym_p'><span>( enum rd_kafka_consumer_group_state_t <span class='color_p'>state</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_coordinator <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_error <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_group_id <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_is_simple_consumer_group <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_member <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span>, <span>size_t <span class='color_p'>idx</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_member_count <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_partition_assignor <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_state <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_group_id <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_is_simple_consumer_group <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_state <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_DescribeConsumerGroups <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const** <span class='color_p'>groups</span></span>, <span>size_t <span class='color_p'>groups_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_DescribeConsumerGroups_result_groups <span class='sym_p'><span>( rd_kafka_DescribeConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_AlterConsumerGroupOffsets_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_DescribeConsumerGroups_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_ListConsumerGroupOffsets_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_ListConsumerGroups_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_interceptor_add_on_broker_state_change <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const* <span class='color_p'>ic_name</span></span>, <span>enum rd_kafka_resp_err_t(*<span class='color_p'>on_broker_state_change</span>)(rd_kafka_t*, int32_t, char const*, char const*, int, char const*, void*)</span>, <span>void* <span class='color_p'>ic_opaque</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_ListConsumerGroupOffsets_t** <span class='color_p'>list_grpoffsets</span></span>, <span>size_t <span class='color_p'>list_grpoffsets_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_destroy <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_t* <span class='color_p'>list_grpoffsets</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_destroy_array <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_t** <span class='color_p'>list_grpoffsets</span></span>, <span>size_t <span class='color_p'>list_grpoffset_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_new <span class='sym_p'><span>( char const* <span class='color_p'>group_id</span></span>, <span>rd_kafka_topic_partition_list_t const* <span class='color_p'>partitions</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_result_groups <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups_result_errors <span class='sym_p'><span>( rd_kafka_ListConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups_result_valid <span class='sym_p'><span>( rd_kafka_ListConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberAssignment_partitions <span class='sym_p'><span>( rd_kafka_MemberAssignment_t const* <span class='color_p'>assignment</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_assignment <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_client_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_consumer_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_group_instance_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_host <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_host <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_id <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_port <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_sasl_set_credentials <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const* <span class='color_p'>username</span></span>, <span>char const* <span class='color_p'>password</span></span> )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Medium_Risk_Binary_Problems'></a><a name='Type_Binary_Problems_Medium'></a> +<h2>Problems with Data Types, Medium Severity <span class='failed'> 1 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_1')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> rd_kafka_admin_op_t <span class='failed'> 1 </span></span> +<br/> +<div id="c_1" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Value of member <b>RD_KAFKA_ADMIN_OP__CNT</b> has been changed from <b>12</b> to <b>16</b>.</td> +<td>Applications may execute a wrong branch of code in the library and therefore change the behavior.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_2')"> +[+] affected symbols: 1 (0.3%)</span> +<div id="c_2" style="display:none;"> +<div class='affected'><span class='iname_a'>rd_kafka_AdminOptions_new <span class='sym_p'><span>( rd_kafka_t* <i>rk</i></span>, <span>rd_kafka_admin_op_t <span class='fp'>for_api</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'for_api' has base type 'enum rd_kafka_admin_op_t'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes'></a><a name='Other_Binary_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 4 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_3')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> rd_kafka_admin_op_t <span class='passed'> 4 </span></span> +<br/> +<div id="c_3" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_ALTERCONSUMERGROUPOFFSETS</b> with value <b>15</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_DESCRIBECONSUMERGROUPS</b> with value <b>13</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>3</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_LISTCONSUMERGROUPOFFSETS</b> with value <b>14</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>4</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_LISTCONSUMERGROUPS</b> with value <b>12</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_4')"> +[+] affected symbols: 1 (0.3%)</span> +<div id="c_4" style="display:none;"> +<div class='affected'><span class='iname_a'>rd_kafka_AdminOptions_new <span class='sym_p'><span>( rd_kafka_t* <i>rk</i></span>, <span>rd_kafka_admin_op_t <span class='fp'>for_api</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'for_api' has base type 'enum rd_kafka_admin_op_t'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 4 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_5')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_ALTERCONSUMERGROUPOFFSETS_RESULT</span> +<br/> +<div id="c_5" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_ALTERCONSUMERGROUPOFFSETS_RESULT</b> with value <b>0x10000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_6')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_DESCRIBECONSUMERGROUPS_RESULT</span> +<br/> +<div id="c_6" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_DESCRIBECONSUMERGROUPS_RESULT</b> with value <b>0x4000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_7')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_LISTCONSUMERGROUPOFFSETS_RESULT</span> +<br/> +<div id="c_7" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_LISTCONSUMERGROUPOFFSETS_RESULT</b> with value <b>0x8000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_8')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_LISTCONSUMERGROUPS_RESULT</span> +<br/> +<div id="c_8" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_LISTCONSUMERGROUPS_RESULT</b> with value <b>0x2000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +rdkafka.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +librdkafka.so.101<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><div id='SourceTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>librdkafka</td></tr> +<tr><th>Version #1</th><td>1.9.2</td></tr> +<tr><th>Version #2</th><td>2.0.1</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>336 / 134</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Source_Added' style='color:Blue;'>46</a></td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Source_Problems_Low' style='color:Blue;'>1</a></td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Types' style='color:Blue;'>5</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Constants' style='color:Blue;'>4</a></td></tr> +</table> + +<a name='Source_Added'></a><h2>Added Symbols <span class='new'> 46 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="iname">rd_kafka_AdminOptions_set_match_consumer_group_states <span class='sym_p'><span>( rd_kafka_AdminOptions_t* <span class='color_p'>options</span></span>, <span>enum rd_kafka_consumer_group_state_t const* <span class='color_p'>consumer_group_states</span></span>, <span>size_t <span class='color_p'>consumer_group_states_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AdminOptions_set_require_stable_offsets <span class='sym_p'><span>( rd_kafka_AdminOptions_t* <span class='color_p'>options</span></span>, <span>int <span class='color_p'>true_or_false</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_AlterConsumerGroupOffsets_t** <span class='color_p'>alter_grpoffsets</span></span>, <span>size_t <span class='color_p'>alter_grpoffsets_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_destroy <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_t* <span class='color_p'>alter_grpoffsets</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_destroy_array <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_t** <span class='color_p'>alter_grpoffsets</span></span>, <span>size_t <span class='color_p'>alter_grpoffset_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_new <span class='sym_p'><span>( char const* <span class='color_p'>group_id</span></span>, <span>rd_kafka_topic_partition_list_t const* <span class='color_p'>partitions</span></span> )</span></span><br/> +<span class="iname">rd_kafka_AlterConsumerGroupOffsets_result_groups <span class='sym_p'><span>( rd_kafka_AlterConsumerGroupOffsets_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_conf_set_resolve_cb <span class='sym_p'><span>( rd_kafka_conf_t* <span class='color_p'>conf</span></span>, <span>int(*<span class='color_p'>resolve_cb</span>)(char const*, char const*, struct addrinfo const*, struct addrinfo**, void*)</span> )</span></span><br/> +<span class="iname">rd_kafka_consumer_group_state_code <span class='sym_p'><span>( char const* <span class='color_p'>name</span></span> )</span></span><br/> +<span class="iname">rd_kafka_consumer_group_state_name <span class='sym_p'><span>( enum rd_kafka_consumer_group_state_t <span class='color_p'>state</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_coordinator <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_error <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_group_id <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_is_simple_consumer_group <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_member <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span>, <span>size_t <span class='color_p'>idx</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_member_count <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_partition_assignor <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupDescription_state <span class='sym_p'><span>( rd_kafka_ConsumerGroupDescription_t const* <span class='color_p'>grpdesc</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_group_id <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_is_simple_consumer_group <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ConsumerGroupListing_state <span class='sym_p'><span>( rd_kafka_ConsumerGroupListing_t const* <span class='color_p'>grplist</span></span> )</span></span><br/> +<span class="iname">rd_kafka_DescribeConsumerGroups <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const** <span class='color_p'>groups</span></span>, <span>size_t <span class='color_p'>groups_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_DescribeConsumerGroups_result_groups <span class='sym_p'><span>( rd_kafka_DescribeConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_AlterConsumerGroupOffsets_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_DescribeConsumerGroups_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_ListConsumerGroupOffsets_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_event_ListConsumerGroups_result <span class='sym_p'><span>( rd_kafka_event_t* <span class='color_p'>rkev</span></span> )</span></span><br/> +<span class="iname">rd_kafka_interceptor_add_on_broker_state_change <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const* <span class='color_p'>ic_name</span></span>, <span>enum rd_kafka_resp_err_t(*<span class='color_p'>on_broker_state_change</span>)(rd_kafka_t*, int32_t, char const*, char const*, int, char const*, void*)</span>, <span>void* <span class='color_p'>ic_opaque</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_ListConsumerGroupOffsets_t** <span class='color_p'>list_grpoffsets</span></span>, <span>size_t <span class='color_p'>list_grpoffsets_cnt</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_destroy <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_t* <span class='color_p'>list_grpoffsets</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_destroy_array <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_t** <span class='color_p'>list_grpoffsets</span></span>, <span>size_t <span class='color_p'>list_grpoffset_cnt</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_new <span class='sym_p'><span>( char const* <span class='color_p'>group_id</span></span>, <span>rd_kafka_topic_partition_list_t const* <span class='color_p'>partitions</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroupOffsets_result_groups <span class='sym_p'><span>( rd_kafka_ListConsumerGroupOffsets_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>rd_kafka_AdminOptions_t const* <span class='color_p'>options</span></span>, <span>rd_kafka_queue_t* <span class='color_p'>rkqu</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups_result_errors <span class='sym_p'><span>( rd_kafka_ListConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_ListConsumerGroups_result_valid <span class='sym_p'><span>( rd_kafka_ListConsumerGroups_result_t const* <span class='color_p'>result</span></span>, <span>size_t* <span class='color_p'>cntp</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberAssignment_partitions <span class='sym_p'><span>( rd_kafka_MemberAssignment_t const* <span class='color_p'>assignment</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_assignment <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_client_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_consumer_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_group_instance_id <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_MemberDescription_host <span class='sym_p'><span>( rd_kafka_MemberDescription_t const* <span class='color_p'>member</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_host <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_id <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_Node_port <span class='sym_p'><span>( rd_kafka_Node_t const* <span class='color_p'>node</span></span> )</span></span><br/> +<span class="iname">rd_kafka_sasl_set_credentials <span class='sym_p'><span>( rd_kafka_t* <span class='color_p'>rk</span></span>, <span>char const* <span class='color_p'>username</span></span>, <span>char const* <span class='color_p'>password</span></span> )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Source_Problems'></a><a name='Constant_Source_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 1 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_9')"> +<span class='ext'>[+]</span> RD_KAFKA_VERSION</span> +<br/> +<div id="c_9" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>RD_KAFKA_VERSION</b> has been changed from <b>0x010902ff</b> to <b>0x020000ff</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes'></a><a name='Other_Source_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 5 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_10')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> rd_kafka_admin_op_t <span class='passed'> 5 </span></span> +<br/> +<div id="c_10" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_ALTERCONSUMERGROUPOFFSETS</b> with value <b>15</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_DESCRIBECONSUMERGROUPS</b> with value <b>13</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>3</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_LISTCONSUMERGROUPOFFSETS</b> with value <b>14</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>4</th> +<td>The member <b>RD_KAFKA_ADMIN_OP_LISTCONSUMERGROUPS</b> with value <b>12</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>5</th> +<td>Value of member <b>RD_KAFKA_ADMIN_OP__CNT</b> has been changed from <b>12</b> to <b>16</b>.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_11')"> +[+] affected symbols: 1 (0.3%)</span> +<div id="c_11" style="display:none;"> +<div class='affected'><span class='iname_a'>rd_kafka_AdminOptions_new <span class='sym_p'><span>( rd_kafka_t* <i>rk</i></span>, <span>rd_kafka_admin_op_t <span class='fp'>for_api</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'for_api' has base type 'enum rd_kafka_admin_op_t'.</div> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 4 </span></h2><hr/> +<span class='h_name'>rdkafka.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_12')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_ALTERCONSUMERGROUPOFFSETS_RESULT</span> +<br/> +<div id="c_12" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_ALTERCONSUMERGROUPOFFSETS_RESULT</b> with value <b>0x10000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_13')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_DESCRIBECONSUMERGROUPS_RESULT</span> +<br/> +<div id="c_13" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_DESCRIBECONSUMERGROUPS_RESULT</b> with value <b>0x4000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_14')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_LISTCONSUMERGROUPOFFSETS_RESULT</span> +<br/> +<div id="c_14" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_LISTCONSUMERGROUPOFFSETS_RESULT</b> with value <b>0x8000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_15')"> +<span class='ext'>[+]</span> RD_KAFKA_EVENT_LISTCONSUMERGROUPS_RESULT</span> +<br/> +<div id="c_15" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>RD_KAFKA_EVENT_LISTCONSUMERGROUPS_RESULT</b> with value <b>0x2000</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +rdkafka.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +librdkafka.so.101<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><hr/> +<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> +</div> +<br/> + +</body></html> diff --git a/librdkafka-soname.patch b/librdkafka-soname.patch deleted file mode 100644 index f8fbad8..0000000 --- a/librdkafka-soname.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up ./src-cpp/Makefile.old ./src-cpp/Makefile ---- ./src-cpp/Makefile.old 2020-06-10 11:57:06.098169591 +0200 -+++ ./src-cpp/Makefile 2020-06-10 11:57:14.566135935 +0200 -@@ -1,6 +1,6 @@ - PKGNAME= librdkafka - LIBNAME= librdkafka++ --LIBVER= 1 -+LIBVER= 101 - - CXXSRCS= RdKafka.cpp ConfImpl.cpp HandleImpl.cpp \ - ConsumerImpl.cpp ProducerImpl.cpp KafkaConsumerImpl.cpp \ -diff -up ./src/Makefile.old ./src/Makefile ---- ./src/Makefile.old 2020-06-10 11:57:01.669187194 +0200 -+++ ./src/Makefile 2020-06-10 11:57:11.846146744 +0200 -@@ -1,6 +1,6 @@ - PKGNAME= librdkafka - LIBNAME= librdkafka --LIBVER= 1 -+LIBVER= 101 - - -include ../Makefile.config - diff --git a/librdkafka.spec b/librdkafka.spec index cf16f0c..ada3df6 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -1,36 +1,43 @@ # remirepo/fedora spec file for librdkafka # -# Copyright (c) 2015-2022 Remi Collet +# Copyright (c) 2015-2023 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # + +## TODO obsoletes librdkafka1php + +# install in /opt to avoid conflict with system library (by default) +%bcond_without move_to_opt + %global libname librdkafka -%global gh_commit 9b72ca3aa6c49f8f57eea02f70aadb1453d3ba1f +%global gh_commit 96a70a7f184b18ac4d91bd3c96b4f41b832e8d06 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner edenhill %global gh_project %{libname} -%global oldsoname 1 -%global newsoname 101 +%global soname 1 -%global upstream_version 1.9.2 +%if %{with move_to_opt} +%global _prefix /opt/%{?vendeur:%{vendeur}/}%{libname} +%global __arch_install_post /bin/true +%endif + +%global upstream_version 2.0.1 #global upstream_prever RC4 -Name: %{libname}%{oldsoname}php +Name: %{?vendeur:%{vendeur}-}%{libname} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist} Group: System Environment/Libraries Summary: Apache Kafka C/C++ client library # librdkafka is BSD-2, pycrc is MIT, snappy/crc32 are BSD-3 -License: BSD and MIT +License: BSD-2-Clause AND BSD-3-Clause AND MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz -# Bump soname from 1 to 101 to allow parallel installation -Patch0: %{libname}-soname.patch - BuildRequires: libstdc++-devel BuildRequires: openssl-devel BuildRequires: pkgconfig(libsasl2) @@ -65,17 +72,21 @@ and only used by PHP binaries (rdkafka extension). Group: Development/Libraries Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Conflicts: %{libname}-devel < %{version} -Provides: %{libname}-devel = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%if %{with move_to_opt} +# Filter in the /opt installation +%{?filter_from_provides: %filter_from_provides /%{libname}/d} +%{?filter_from_requires: %filter_from_requires /%{libname}/d} +%{?filter_setup} +%endif + %prep %setup -qn %{gh_project}-%{gh_commit} -%patch0 -p1 -b .bump mkdir rpmdocs cp -pr examples rpmdocs/examples @@ -117,13 +128,21 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname} %files %{!?_licensedir:%global license %%doc} -%license LICENSE* -%{_libdir}/%{libname}.so.%{newsoname} -%{_libdir}/%{libname}++.so.%{newsoname} +%license LICENS* +%if %{with move_to_opt} +%dir %{_prefix} +%dir %{_libdir} +%endif +%{_libdir}/%{libname}.so.%{soname} +%{_libdir}/%{libname}++.so.%{soname} %files devel %doc *md %doc rpmdocs/examples +%if %{with move_to_opt} +%dir %{_includedir} +%dir %{_libdir}/pkgconfig +%endif %{_includedir}/%{libname}/ %{_libdir}/%{libname}.so %{_libdir}/%{libname}++.so @@ -132,6 +151,10 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname} %changelog +* Thu Jan 19 2023 Remi Collet <remi@remirepo.net> - 2.0.1-1 +- update to 2.0.1 +- rename to remi-librdkafka installed in /opt/remi/librdkafka + * Tue Aug 2 2022 Remi Collet <remi@remirepo.net> - 1.9.2-1 - update to 1.9.2 diff --git a/librdkafka.xml b/librdkafka.xml index 10fbb06..38584bd 100644 --- a/librdkafka.xml +++ b/librdkafka.xml @@ -9,19 +9,19 @@ <version> <!-- Version of the library --> -1.9.2 +2.0.1 </version> <headers> <!-- The list of paths to header files and/or directories with header files, one per line --> -/usr/include/librdkafka/rdkafka.h +/opt/remi/librdkafka/include/librdkafka/rdkafka.h </headers> <libs> <!-- The list of paths to shared objects and/or directories with shared objects, one per line --> -/usr/lib64/librdkafka.so +/opt/remi/librdkafka/lib64/librdkafka.so </libs> <!-- |